diff options
Diffstat (limited to 'xmpp-vala/src/module/xep/0030_service_discovery/flag.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0030_service_discovery/flag.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala b/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala index d4874fca..0ecd98fb 100644 --- a/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala +++ b/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala @@ -23,8 +23,8 @@ public class Flag : XmppStreamFlag { owned get { return own_identities_.read_only_view; } } - public Gee.Set<Identity>? get_entity_categories(Jid jid) { - return entity_identities.has_key(jid) ? entity_identities[jid] : null; // TODO isn’t this default for hashmap + public Gee.Set<Identity>? get_entity_identities(Jid jid) { + return entity_identities.has_key(jid) ? entity_identities[jid].read_only_view : null; // TODO isn’t this default for hashmap } public bool? has_entity_identity(Jid jid, string category, string type) { |