aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp/src/database.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-09-05 23:53:18 +0200
committerfiaxh <git@mx.ax.lt>2017-09-06 00:15:18 +0200
commit8944029128e3d0f9e32b61e00e880d92fceabb31 (patch)
tree8cf872969d3349c61278b19273e76c65036c429d /plugins/openpgp/src/database.vala
parent312372350e24d1ebd8afbb0029fac04f2b64eb83 (diff)
downloaddino-8944029128e3d0f9e32b61e00e880d92fceabb31.tar.gz
dino-8944029128e3d0f9e32b61e00e880d92fceabb31.zip
Move encryption menu into ChatInput, PGP support for MUCs
Diffstat (limited to 'plugins/openpgp/src/database.vala')
-rw-r--r--plugins/openpgp/src/database.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/openpgp/src/database.vala b/plugins/openpgp/src/database.vala
index 7d41db3c..0e4bf74c 100644
--- a/plugins/openpgp/src/database.vala
+++ b/plugins/openpgp/src/database.vala
@@ -46,7 +46,7 @@ public class Database : Qlite.Database {
public string? get_contact_key(Jid jid) {
return contact_key_table.select({contact_key_table.key})
- .with(contact_key_table.jid, "=", jid.bare_jid.to_string())[contact_key_table.key];
+ .with(contact_key_table.jid, "=", jid.to_string())[contact_key_table.key];
}
public void set_account_key(Account account, string key) {
@@ -64,4 +64,4 @@ public class Database : Qlite.Database {
public override void migrate(long oldVersion) { }
}
-} \ No newline at end of file
+}