diff options
author | fiaxh <git@lightrise.org> | 2020-09-03 22:52:07 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-09-07 15:21:42 +0200 |
commit | 2d31d9d4706d6fea870f9081a1451448f032473d (patch) | |
tree | 53a1f75def66bcb38076bd47c45a48992f850cf9 /xmpp-vala/src/module/xep/0030_service_discovery/flag.vala | |
parent | 49bcbdaa517e5d6f8d4860db70ae0a9960e2c519 (diff) | |
download | dino-2d31d9d4706d6fea870f9081a1451448f032473d.tar.gz dino-2d31d9d4706d6fea870f9081a1451448f032473d.zip |
Cleanup
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 | 6 |
1 files changed, 0 insertions, 6 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 ab311727..67729f5d 100644 --- a/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala +++ b/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala @@ -5,8 +5,6 @@ namespace Xmpp.Xep.ServiceDiscovery { public class Flag : XmppStreamFlag { public static FlagIdentity<Flag> IDENTITY = new FlagIdentity<Flag>(NS_URI, "service_discovery"); - private HashMap<Jid, Gee.List<Item>?> entity_items = new HashMap<Jid, Gee.List<Item>?>(Jid.hash_func, Jid.equals_func); - private Gee.Set<string> own_features_ = new HashSet<string>(); public Gee.List<string> own_features { owned get { @@ -21,10 +19,6 @@ public class Flag : XmppStreamFlag { owned get { return own_identities_.read_only_view; } } - public void set_entity_items(Jid jid, Gee.List<Item>? features) { - entity_items[jid] = features; - } - public void add_own_feature(string feature) { if (own_features_.contains(feature)) { warning("Tried to add the feature %s a second time".printf(feature)); |