fixup 8944029
(PGP support for MUCs)
This commit is contained in:
parent
8944029128
commit
1f0df86445
|
@ -27,10 +27,11 @@ public class Flag : XmppStreamFlag {
|
||||||
|
|
||||||
public string? get_real_jid(string full_jid) { return occupant_real_jids[full_jid]; }
|
public string? get_real_jid(string full_jid) { return occupant_real_jids[full_jid]; }
|
||||||
|
|
||||||
public Gee.List<string> get_offline_members(string full_jid) {
|
public Gee.List<string> get_offline_members(string muc_jid) {
|
||||||
Gee.List<string> ret = new ArrayList<string>();
|
Gee.List<string> ret = new ArrayList<string>();
|
||||||
foreach (string muc_jid in affiliations.keys) {
|
HashMap<string, Affiliation>? muc_affiliations = affiliations[muc_jid];
|
||||||
foreach (string jid in affiliations[muc_jid].keys) {
|
if (muc_affiliations != null) {
|
||||||
|
foreach (string jid in muc_affiliations.keys) {
|
||||||
if (!jid.has_prefix(muc_jid)) ret.add(jid);
|
if (!jid.has_prefix(muc_jid)) ret.add(jid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue