diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-20 03:14:47 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-20 03:14:47 +0200 |
commit | b5005d60deef687cefdac330e0b4e3f0ba2e8d81 (patch) | |
tree | 884ad882ce8d1badafe83801c7e884940d1419f7 /src/eu/siacs/conversations/parser | |
parent | 185c485fc68df7c76803e29a1d77819fc49f6812 (diff) |
simplified presence subscription in contact details
Diffstat (limited to 'src/eu/siacs/conversations/parser')
-rw-r--r-- | src/eu/siacs/conversations/parser/PresenceParser.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/parser/PresenceParser.java b/src/eu/siacs/conversations/parser/PresenceParser.java index 489b0e98..33f4185f 100644 --- a/src/eu/siacs/conversations/parser/PresenceParser.java +++ b/src/eu/siacs/conversations/parser/PresenceParser.java @@ -30,13 +30,10 @@ public class PresenceParser extends AbstractParser implements Conversation muc = mXmppConnectionService.find(account,packet .getAttribute("from").split("/")[0]); if (muc != null) { - int error = muc.getMucOptions().getError(); muc.getMucOptions().processPacket(packet, mPgpEngine); - if (muc.getMucOptions().getError() != error) { - mXmppConnectionService.updateConversationUi(); - } } } + mXmppConnectionService.updateConversationUi(); } public void parseContactPresence(PresencePacket packet, Account account) { |