diff options
author | fiaxh <git@lightrise.org> | 2020-10-27 15:31:39 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-10-27 16:05:30 +0100 |
commit | 2e0357877cf3e8e391d3f8f02970defa93c710eb (patch) | |
tree | 4478a0deebbedf00934c7a7d6324180c4158bb38 /libdino/src/service/entity_capabilities_storage.vala | |
parent | edbc8f794d42cc30bfbe6602becb43c3500e02a2 (diff) | |
download | dino-2e0357877cf3e8e391d3f8f02970defa93c710eb.tar.gz dino-2e0357877cf3e8e391d3f8f02970defa93c710eb.zip |
Fix some compiler warnings
Diffstat (limited to 'libdino/src/service/entity_capabilities_storage.vala')
-rw-r--r-- | libdino/src/service/entity_capabilities_storage.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/entity_capabilities_storage.vala b/libdino/src/service/entity_capabilities_storage.vala index e716101a..c6d0bbbd 100644 --- a/libdino/src/service/entity_capabilities_storage.vala +++ b/libdino/src/service/entity_capabilities_storage.vala @@ -16,7 +16,7 @@ public class EntityCapabilitiesStorage : Xep.EntityCapabilities.Storage, Object } public void store_features(string entity, Gee.List<string> features) { - if (features_cache.contains(entity)) return; + if (features_cache.has_key(entity)) return; foreach (string feature in features) { db.entity_feature.insert() |