From 8944029128e3d0f9e32b61e00e880d92fceabb31 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 5 Sep 2017 23:53:18 +0200 Subject: Move encryption menu into ChatInput, PGP support for MUCs --- plugins/openpgp/src/database.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/openpgp/src/database.vala') 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 +} -- cgit v1.2.3-70-g09d2