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
This commit is contained in:
parent
c0c9e1df14
commit
bee7dd0ef4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue