From 7def6d7ec2d330d6afe416ae148a8eeb25fe638b Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 20 Aug 2018 00:12:11 +0100 Subject: Fix display names for MUCs w/o localpart --- libdino/src/service/muc_manager.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdino') 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) { -- cgit v1.2.3-70-g09d2