diff options
author | steckbrief <steckbrief@chefmail.de> | 2017-08-05 22:25:23 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2017-08-05 22:25:23 +0200 |
commit | 6f588444a953a54543661f7603d45a9093b7196a (patch) | |
tree | d9c2e1d8982336bbb3c1dcdb4d701c311ccc2d86 /src/main/java/de/thedevstack/conversationsplus/entities/Conversation.java | |
parent | 530d64beca87181e9bea8034353353cd8a7083a4 (diff) |
Implements FS#249: Remove code duplication for avatar creation
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/entities/Conversation.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/entities/Conversation.java b/src/main/java/de/thedevstack/conversationsplus/entities/Conversation.java index c0ae56fd..2edd1135 100644 --- a/src/main/java/de/thedevstack/conversationsplus/entities/Conversation.java +++ b/src/main/java/de/thedevstack/conversationsplus/entities/Conversation.java @@ -21,6 +21,7 @@ import java.util.Comparator; import java.util.Iterator; import java.util.List; +import de.thedevstack.conversationsplus.dto.LoadAvatarFor; import de.thedevstack.conversationsplus.utils.MessageUtil; import de.thedevstack.conversationsplus.Config; import de.thedevstack.conversationsplus.crypto.axolotl.AxolotlService; @@ -28,7 +29,7 @@ import de.thedevstack.conversationsplus.xmpp.chatstate.ChatState; import de.thedevstack.conversationsplus.xmpp.jid.InvalidJidException; import de.thedevstack.conversationsplus.xmpp.jid.Jid; -public class Conversation extends AbstractEntity implements Blockable { +public class Conversation extends AbstractEntity implements Blockable, LoadAvatarFor { public static final String TABLENAME = "conversations"; public static final int STATUS_AVAILABLE = 0; |