diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-10 15:27:44 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-10 15:27:44 +0200 |
commit | b35aa3ed0720f195ec341a1188591052909bdf18 (patch) | |
tree | a15759ef8c4006c30bcae497baa7841ee792dd3f /src/eu/siacs/conversations/entities/Message.java | |
parent | 6de53791b5db4513f662dabbdfe83db29eb4d666 (diff) |
added limited private muc chat feature (messages are now properly marked) - long press on user icon will sent private messages. fixed #259
Diffstat (limited to 'src/eu/siacs/conversations/entities/Message.java')
-rw-r--r-- | src/eu/siacs/conversations/entities/Message.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/entities/Message.java b/src/eu/siacs/conversations/entities/Message.java index 1fa5ce421..3fe20707d 100644 --- a/src/eu/siacs/conversations/entities/Message.java +++ b/src/eu/siacs/conversations/entities/Message.java @@ -33,6 +33,7 @@ public class Message extends AbstractEntity { public static final int TYPE_IMAGE = 1; public static final int TYPE_AUDIO = 2; public static final int TYPE_STATUS = 3; + public static final int TYPE_PRIVATE = 4; public static String CONVERSATION = "conversationUuid"; public static String COUNTERPART = "counterpart"; @@ -257,4 +258,8 @@ public class Message extends AbstractEntity { message.setConversation(conversation); return message; } + + public void setCounterpart(String counterpart) { + this.counterpart = counterpart; + } } |