aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-08-20 00:12:11 +0100
committerfiaxh <git@mx.ax.lt>2018-08-22 20:29:24 +0200
commit7def6d7ec2d330d6afe416ae148a8eeb25fe638b (patch)
tree3215f7429bb967f34ce3f856b7665805b5b3d238 /libdino
parent4be8c92a2c0e454ae217aea8f8eac69c99416214 (diff)
downloaddino-7def6d7ec2d330d6afe416ae148a8eeb25fe638b.tar.gz
dino-7def6d7ec2d330d6afe416ae148a8eeb25fe638b.zip
Fix display names for MUCs w/o localpart
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/muc_manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index b69d71f2..a0f7fe70 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -125,7 +125,7 @@ public class MucManager : StreamInteractionModule, Object {
}
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) {