diff options
author | linkmauve <linkmauve@linkmauve.fr> | 2018-01-10 15:12:54 +0100 |
---|---|---|
committer | fiaxh <fiaxh@users.noreply.github.com> | 2018-01-10 15:12:54 +0100 |
commit | 0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84 (patch) | |
tree | 381a0eb06e0333628aa27f9e477b19365612861d /libdino | |
parent | 5557c03be87a622fa830b26e27ca6b158093937c (diff) | |
download | dino-0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84.tar.gz dino-0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84.zip |
Fix typos in comments and variable names (#269)
Thanks `codespell`!
Diffstat (limited to 'libdino')
-rw-r--r-- | libdino/src/entity/file_transfer.vala | 2 | ||||
-rw-r--r-- | libdino/src/entity/message.vala | 2 | ||||
-rw-r--r-- | libdino/src/service/entity_capabilities_storage.vala | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libdino/src/entity/file_transfer.vala b/libdino/src/entity/file_transfer.vala index e26b723c..120d3b38 100644 --- a/libdino/src/entity/file_transfer.vala +++ b/libdino/src/entity/file_transfer.vala @@ -44,7 +44,7 @@ public class FileTransfer : Object { this.db = db; id = row[db.file_transfer.id]; - account = db.get_account_by_id(row[db.file_transfer.account_id]); // TODO dont have to generate acc new + account = db.get_account_by_id(row[db.file_transfer.account_id]); // TODO don’t have to generate acc new string counterpart_jid = db.get_jid_by_id(row[db.file_transfer.counterpart_id]); string counterpart_resource = row[db.file_transfer.counterpart_resource]; diff --git a/libdino/src/entity/message.vala b/libdino/src/entity/message.vala index 5574ed40..27bd08d8 100644 --- a/libdino/src/entity/message.vala +++ b/libdino/src/entity/message.vala @@ -63,7 +63,7 @@ public class Message : Object { this.db = db; id = row[db.message.id]; - account = db.get_account_by_id(row[db.message.account_id]); // TODO dont have to generate acc new + account = db.get_account_by_id(row[db.message.account_id]); // TODO don’t have to generate acc new stanza_id = row[db.message.stanza_id]; type_ = (Message.Type) row[db.message.type_]; diff --git a/libdino/src/service/entity_capabilities_storage.vala b/libdino/src/service/entity_capabilities_storage.vala index 910ce48d..94d9d88e 100644 --- a/libdino/src/service/entity_capabilities_storage.vala +++ b/libdino/src/service/entity_capabilities_storage.vala @@ -16,8 +16,8 @@ public class EntityCapabilitiesStorage : Xep.EntityCapabilities.Storage, Object db.add_entity_features(entity, features); } - public Gee.List<string> get_features(string entitiy) { - return db.get_entity_features(entitiy); + public Gee.List<string> get_features(string entity) { + return db.get_entity_features(entity); } } } |