diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-12 13:42:17 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-12 13:42:17 +0200 |
commit | 9968ae5260355f716dcb9c82572cbfd3a1e5a88c (patch) | |
tree | d2844d393ec028adc279010e9ee956ffe3b23a35 /src/eu/siacs/conversations/parser/MessageParser.java | |
parent | fd5760d27aa45d3e8063a46bb1f0874e7ab4e10c (diff) |
refactored ui listeners a little bit
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/parser/MessageParser.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/parser/MessageParser.java b/src/eu/siacs/conversations/parser/MessageParser.java index 3d2d1f2c..1673fbf0 100644 --- a/src/eu/siacs/conversations/parser/MessageParser.java +++ b/src/eu/siacs/conversations/parser/MessageParser.java @@ -114,7 +114,7 @@ public class MessageParser extends AbstractParser implements if (packet.hasChild("subject")) { conversation.getMucOptions().setSubject( packet.findChild("subject").getContent()); - mXmppConnectionService.updateUi(conversation, false); + mXmppConnectionService.updateConversationUi(); return null; } if ((fromParts.length == 1)) { @@ -217,10 +217,10 @@ public class MessageParser extends AbstractParser implements } else if (packet.hasChild("x")) { Element x = packet.findChild("x"); if (x.hasChild("invite")) { - Conversation conversation = mXmppConnectionService + mXmppConnectionService .findOrCreateConversation(account, packet.getAttribute("from"), true); - mXmppConnectionService.updateUi(conversation, false); + mXmppConnectionService.updateConversationUi(); } } @@ -318,6 +318,6 @@ public class MessageParser extends AbstractParser implements if (packet.getType() != MessagePacket.TYPE_ERROR) { mXmppConnectionService.databaseBackend.createMessage(message); } - mXmppConnectionService.updateUi(conversation, notify); + mXmppConnectionService.notifyUi(conversation, notify); } } |