diff options
author | fiaxh <git@mx.ax.lt> | 2018-08-20 00:12:11 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2018-08-22 20:29:24 +0200 |
commit | 7def6d7ec2d330d6afe416ae148a8eeb25fe638b (patch) | |
tree | 3215f7429bb967f34ce3f856b7665805b5b3d238 /libdino/src | |
parent | 4be8c92a2c0e454ae217aea8f8eac69c99416214 (diff) | |
download | dino-7def6d7ec2d330d6afe416ae148a8eeb25fe638b.tar.gz dino-7def6d7ec2d330d6afe416ae148a8eeb25fe638b.zip |
Fix display names for MUCs w/o localpart
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/service/muc_manager.vala | 2 |
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) { |