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/Message.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/Message.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/entities/Message.java b/src/main/java/de/thedevstack/conversationsplus/entities/Message.java index 4d7697f2..b8ebfe2b 100644 --- a/src/main/java/de/thedevstack/conversationsplus/entities/Message.java +++ b/src/main/java/de/thedevstack/conversationsplus/entities/Message.java @@ -7,6 +7,7 @@ import java.net.MalformedURLException; import java.net.URL; import de.thedevstack.conversationsplus.crypto.axolotl.XmppAxolotlSession; +import de.thedevstack.conversationsplus.dto.LoadAvatarFor; import de.thedevstack.conversationsplus.enums.FileStatus; import de.thedevstack.conversationsplus.utils.FileUtils; import de.thedevstack.conversationsplus.utils.MessageUtil; @@ -14,7 +15,7 @@ import de.thedevstack.conversationsplus.utils.MimeUtils; import de.thedevstack.conversationsplus.xmpp.jid.InvalidJidException; import de.thedevstack.conversationsplus.xmpp.jid.Jid; -public class Message extends AbstractEntity { +public class Message extends AbstractEntity implements LoadAvatarFor { public static final String TABLENAME = "messages"; |