do not add self as crytpo target in MUC
This commit is contained in:
parent
ab43a4bcf9
commit
09f9baeeef
|
@ -572,7 +572,7 @@ public class MucOptions {
|
|||
ArrayList<Jid> members = new ArrayList<>();
|
||||
synchronized (users) {
|
||||
for (User user : users) {
|
||||
if (user.affiliation.ranks(Affiliation.MEMBER) && user.realJid != null && (!user.isDomain() || includeDomains)) {
|
||||
if (user.affiliation.ranks(Affiliation.MEMBER) && user.realJid != null && !user.realJid.asBareJid().equals(conversation.account.getJid().asBareJid()) && (!user.isDomain() || includeDomains)) {
|
||||
members.add(user.realJid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue