mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
only try to change affilations for known jids
This commit is contained in:
parent
4274fe90ac
commit
58bc4cba06
@ -1699,7 +1699,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
||||
public void changeAffiliationsInConference(final Conversation conference, MucOptions.Affiliation before, MucOptions.Affiliation after) {
|
||||
List<Jid> jids = new ArrayList<>();
|
||||
for (MucOptions.User user : conference.getMucOptions().getUsers()) {
|
||||
if (user.getAffiliation() == before) {
|
||||
if (user.getAffiliation() == before && user.getJid() != null) {
|
||||
jids.add(user.getJid());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user