mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-15 13:35:04 -05:00
return own jid as true counterpart on self messages in muc
This commit is contained in:
parent
3e654bea0e
commit
4332b0df44
@ -469,6 +469,9 @@ public class MucOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Jid getTrueCounterpart(String name) {
|
public Jid getTrueCounterpart(String name) {
|
||||||
|
if (name.equals(getSelf().getName())) {
|
||||||
|
return account.getJid().toBareJid();
|
||||||
|
}
|
||||||
User user = findUser(name);
|
User user = findUser(name);
|
||||||
return user == null ? null : user.getJid();
|
return user == null ? null : user.getJid();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user