diff options
author | Michael <betheg@bitcloner.org> | 2014-11-23 15:19:44 +0100 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-11-23 15:19:44 +0100 |
commit | dbe8280662bbe90426931a465f767f2ff76f2cbc (patch) | |
tree | 9531aef704fe99d986284747dfb01e759dab8ab6 /src/main/java/eu/siacs/conversations/parser | |
parent | bdfdc5fb1030b3ae49c43b8872476cae0ad89081 (diff) |
add an listener for the muc roster update.
this is for the ConferenceDetailsActivity to show
precence updates immediately.
Diffstat (limited to 'src/main/java/eu/siacs/conversations/parser')
-rw-r--r-- | src/main/java/eu/siacs/conversations/parser/PresenceParser.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/PresenceParser.java b/src/main/java/eu/siacs/conversations/parser/PresenceParser.java index 12167a1e..43c8fa8d 100644 --- a/src/main/java/eu/siacs/conversations/parser/PresenceParser.java +++ b/src/main/java/eu/siacs/conversations/parser/PresenceParser.java @@ -31,6 +31,8 @@ public class PresenceParser extends AbstractParser implements mXmppConnectionService.getAvatarService().clear(conversation); if (before != mucOptions.online() || (mucOptions.online() && count != mucOptions.getUsers().size())) { mXmppConnectionService.updateConversationUi(); + } else if (mucOptions.online()) { + mXmppConnectionService.updateMucRosterUi(); } } } |