update ui after affiliation changes
This commit is contained in:
parent
e1cf7b8cb6
commit
277e3d59c8
|
@ -571,6 +571,9 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
||||||
+conversation.getJid().toBareJid());
|
+conversation.getJid().toBareJid());
|
||||||
if (!user.realJidMatchesAccount()) {
|
if (!user.realJidMatchesAccount()) {
|
||||||
conversation.getMucOptions().addUser(user);
|
conversation.getMucOptions().addUser(user);
|
||||||
|
mXmppConnectionService.getAvatarService().clear(conversation);
|
||||||
|
mXmppConnectionService.updateMucRosterUi();
|
||||||
|
mXmppConnectionService.updateConversationUi();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1908,6 +1908,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
||||||
MucOptions.User user = AbstractParser.parseItem(conversation,child);
|
MucOptions.User user = AbstractParser.parseItem(conversation,child);
|
||||||
if (!user.realJidMatchesAccount()) {
|
if (!user.realJidMatchesAccount()) {
|
||||||
conversation.getMucOptions().addUser(user);
|
conversation.getMucOptions().addUser(user);
|
||||||
|
getAvatarService().clear(conversation);
|
||||||
|
updateMucRosterUi();
|
||||||
|
updateConversationUi();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue