From bee7dd0ef455d5f5dd60bda7c7c6c6d4b54eee74 Mon Sep 17 00:00:00 2001 From: Andrei Voronin <91470240+Aristofan-Kif@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:50:34 +0300 Subject: [PATCH] Offline members (#33) This commit is supposed to change the showing of members of chat. Beforehead only online members was show in chat members. Now it's all members who are shown, including the ones who is offline and the one who didin't accept the invite --- libdino/src/service/muc_manager.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala index 210090ca..da17a8d1 100644 --- a/libdino/src/service/muc_manager.vala +++ b/libdino/src/service/muc_manager.vala @@ -262,7 +262,7 @@ public class MucManager : StreamInteractionModule, Object { public Gee.List? get_occupants(Jid jid, Account account) { if (is_groupchat(jid, account)) { Gee.List ret = new ArrayList(Jid.equals_func); - Gee.List? full_jids = stream_interactor.get_module(PresenceManager.IDENTITY).get_full_jids(jid, account); + Gee.List? full_jids = get_offline_members(jid, account); if (full_jids != null) { ret.add_all(full_jids); // Remove eventual presence from bare jid