update ui after affiliation changes

This commit is contained in:
Daniel Gultsch 2016-05-21 09:25:37 +02:00
parent e1cf7b8cb6
commit 277e3d59c8
2 changed files with 6 additions and 0 deletions

View File

@ -571,6 +571,9 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
+conversation.getJid().toBareJid());
if (!user.realJidMatchesAccount()) {
conversation.getMucOptions().addUser(user);
mXmppConnectionService.getAvatarService().clear(conversation);
mXmppConnectionService.updateMucRosterUi();
mXmppConnectionService.updateConversationUi();
}
}
}

View File

@ -1908,6 +1908,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
MucOptions.User user = AbstractParser.parseItem(conversation,child);
if (!user.realJidMatchesAccount()) {
conversation.getMucOptions().addUser(user);
getAvatarService().clear(conversation);
updateMucRosterUi();
updateConversationUi();
}
}
}