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/services | |
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/services')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index d94f20da..1c114f60 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -528,7 +528,7 @@ public class XmppConnectionService extends Service { } else { message.getConversation().endOtrIfNeeded(); failWaitingOtrMessages(message.getConversation()); - if (message.getConversation().getMode() == Conversation.MODE_SINGLE) { + if (message.getConversation().getMode() == Conversation.MODE_SINGLE || message.getType() == Message.TYPE_PRIVATE) { message.setStatus(Message.STATUS_SEND); } packet = mMessageGenerator.generateChat(message); |