forked from mirror/monocles_chat_clean
do not add self as crytpo target in MUC
This commit is contained in:
parent
46bb0874e5
commit
be44b8493c
1 changed files with 1 additions and 1 deletions
|
@ -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