aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep
diff options
context:
space:
mode:
authorlinkmauve <linkmauve@linkmauve.fr>2018-01-10 15:12:54 +0100
committerfiaxh <fiaxh@users.noreply.github.com>2018-01-10 15:12:54 +0100
commit0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84 (patch)
tree381a0eb06e0333628aa27f9e477b19365612861d /xmpp-vala/src/module/xep
parent5557c03be87a622fa830b26e27ca6b158093937c (diff)
downloaddino-0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84.tar.gz
dino-0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84.zip
Fix typos in comments and variable names (#269)
Thanks `codespell`!
Diffstat (limited to 'xmpp-vala/src/module/xep')
-rw-r--r--xmpp-vala/src/module/xep/0030_service_discovery/flag.vala2
-rw-r--r--xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala4
2 files changed, 3 insertions, 3 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 cd847974..4f3e5eea 100644
--- a/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala
+++ b/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala
@@ -13,7 +13,7 @@ public class Flag : XmppStreamFlag {
public Gee.List<string> features = new ArrayList<string>();
public Gee.List<Identity>? get_entity_categories(string jid) {
- return entity_identities.has_key(jid) ? entity_identities[jid] : null; // TODO isnt this default for hashmap
+ return entity_identities.has_key(jid) ? entity_identities[jid] : null; // TODO isn’t this default for hashmap
}
public bool? has_entity_identity(string jid, string category, string type) {
diff --git a/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala b/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala
index 9f57a14b..cba58883 100644
--- a/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala
+++ b/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala
@@ -103,7 +103,7 @@ namespace Xmpp.Xep.EntityCapabilities {
}
public interface Storage : Object {
- public abstract void store_features(string entitiy, Gee.List<string> capabilities);
- public abstract Gee.List<string> get_features(string entitiy);
+ public abstract void store_features(string entity, Gee.List<string> capabilities);
+ public abstract Gee.List<string> get_features(string entity);
}
}