diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-05-16 22:46:15 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-05-16 22:46:15 +0200 |
commit | cd1afbd39aade757c592e756ff1a1d2df27f1442 (patch) | |
tree | a5bbb5ed85800c015098e25842c8a5a4ff96863b /src/eu/siacs/conversations/parser | |
parent | a0a5ca958596e47e273b04f0608acf23825abf7e (diff) |
reworked message to conferences
Diffstat (limited to 'src/eu/siacs/conversations/parser')
-rw-r--r-- | src/eu/siacs/conversations/parser/MessageParser.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/parser/MessageParser.java b/src/eu/siacs/conversations/parser/MessageParser.java index 26078073..3733767f 100644 --- a/src/eu/siacs/conversations/parser/MessageParser.java +++ b/src/eu/siacs/conversations/parser/MessageParser.java @@ -112,7 +112,11 @@ public class MessageParser { } String counterPart = fromParts[1]; if (counterPart.equals(conversation.getMucOptions().getNick())) { - status = Message.STATUS_SEND; + if (mXmppConnectionService.markMessage(conversation, packet.getId(), Message.STATUS_SEND)) { + return null; + } else { + status = Message.STATUS_SEND; + } } else { status = Message.STATUS_RECIEVED; } |