From 97a5057b2465a2d930f8c12d390d8e50193efa09 Mon Sep 17 00:00:00 2001 From: Christian Olcina <17082246+Sulfkain@users.noreply.github.com> Date: Fri, 9 Mar 2018 08:36:27 +0100 Subject: [PATCH] Image inherit from the basic Content type Don't you think MessageContentType.Image should inherit from MessageContentType? why don't do it, if MessageContentType is the basic type? --- .../com/stfalcon/chatkit/commons/models/MessageContentType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatkit/src/main/java/com/stfalcon/chatkit/commons/models/MessageContentType.java b/chatkit/src/main/java/com/stfalcon/chatkit/commons/models/MessageContentType.java index f5b63995..b9c6c485 100644 --- a/chatkit/src/main/java/com/stfalcon/chatkit/commons/models/MessageContentType.java +++ b/chatkit/src/main/java/com/stfalcon/chatkit/commons/models/MessageContentType.java @@ -31,7 +31,7 @@ public interface MessageContentType extends IMessage { /** * Default media type for image message. */ - interface Image extends IMessage { + interface Image implements MessageContentType { String getImageUrl(); }