Fix display names for MUCs w/o localpart

This commit is contained in:
fiaxh 2018-08-20 00:12:11 +01:00
parent 4be8c92a2c
commit 7def6d7ec2

View file

@ -125,7 +125,7 @@ public class MucManager : StreamInteractionModule, Object {
} }
public bool is_groupchat_occupant(Jid jid, Account account) { public bool is_groupchat_occupant(Jid jid, Account account) {
return is_groupchat(jid.bare_jid, account) && jid.is_full(); return is_groupchat(jid.bare_jid, account) && jid.resourcepart != null;
} }
public void get_bookmarks(Account account, owned Xep.Bookmarks.Module.OnResult listener) { public void get_bookmarks(Account account, owned Xep.Bookmarks.Module.OnResult listener) {