diff options
Diffstat (limited to 'xmpp-vala/src')
-rw-r--r-- | xmpp-vala/src/module/xep/0272_muji.vala | 2 | ||||
-rw-r--r-- | xmpp-vala/src/module/xep/0402_bookmarks2.vala | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0272_muji.vala b/xmpp-vala/src/module/xep/0272_muji.vala index 2bdc068e..b602d94c 100644 --- a/xmpp-vala/src/module/xep/0272_muji.vala +++ b/xmpp-vala/src/module/xep/0272_muji.vala @@ -197,7 +197,7 @@ namespace Xmpp.Xep.Muji { if (group_call.real_jids.has_key(presence.from)) { group_call.peer_left(group_call.real_jids[presence.from]); } - group_call.real_jids.remove(presence.from); + group_call.real_jids.unset(presence.from); } private void on_jid_finished_preparing(XmppStream stream, Jid jid, GroupCall group_call) { diff --git a/xmpp-vala/src/module/xep/0402_bookmarks2.vala b/xmpp-vala/src/module/xep/0402_bookmarks2.vala index cafe1435..3b100534 100644 --- a/xmpp-vala/src/module/xep/0402_bookmarks2.vala +++ b/xmpp-vala/src/module/xep/0402_bookmarks2.vala @@ -16,6 +16,7 @@ public class Module : BookmarksProvider, XmppStreamModule { hm = flag.conferences; } else { Gee.List<StanzaNode>? items = yield stream.get_module(Pubsub.Module.IDENTITY).request_all(stream, stream.get_flag(Bind.Flag.IDENTITY).my_jid.bare_jid, NS_URI); + if (items == null) return null; hm = new HashMap<Jid, Conference>(Jid.hash_func, Jid.equals_func); foreach (StanzaNode item_node in items) { |