Skip to content

Commit

Permalink
Offline members (#33)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Aristofan-Kif authored Mar 28, 2024
1 parent c0c9e1d commit bee7dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdino/src/service/muc_manager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public class MucManager : StreamInteractionModule, Object {
public Gee.List<Jid>? get_occupants(Jid jid, Account account) {
if (is_groupchat(jid, account)) {
Gee.List<Jid> ret = new ArrayList<Jid>(Jid.equals_func);
Gee.List<Jid>? full_jids = stream_interactor.get_module(PresenceManager.IDENTITY).get_full_jids(jid, account);
Gee.List<Jid>? full_jids = get_offline_members(jid, account);
if (full_jids != null) {
ret.add_all(full_jids);
// Remove eventual presence from bare jid
Expand Down

0 comments on commit bee7dd0

Please sign in to comment.