aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/entity/file_transfer.vala2
-rw-r--r--libdino/src/entity/message.vala2
-rw-r--r--libdino/src/service/entity_capabilities_storage.vala4
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);
}
}
}