From 0ce28c0b0d87cb199ef790a9acc1ba25e64e2e84 Mon Sep 17 00:00:00 2001 From: linkmauve Date: Wed, 10 Jan 2018 15:12:54 +0100 Subject: Fix typos in comments and variable names (#269) Thanks `codespell`! --- libdino/src/entity/file_transfer.vala | 2 +- libdino/src/entity/message.vala | 2 +- libdino/src/service/entity_capabilities_storage.vala | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libdino') 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 get_features(string entitiy) { - return db.get_entity_features(entitiy); + public Gee.List get_features(string entity) { + return db.get_entity_features(entity); } } } -- cgit v1.2.3-70-g09d2