diff options
author | Samuel Hand <samuel.hand@openmailbox.org> | 2018-08-11 15:56:30 +0100 |
---|---|---|
committer | Samuel Hand <samuel.hand@openmailbox.org> | 2018-08-11 15:56:30 +0100 |
commit | b589275ab46d42584bfc99edfa2054e9c8841ccc (patch) | |
tree | 82bf8f924362ac08862533cb121412372becf3c1 /plugins/omemo/src/trust_manager.vala | |
parent | 9b984289966cc6c29f5ce14daa76de1a380a42cd (diff) | |
download | dino-b589275ab46d42584bfc99edfa2054e9c8841ccc.tar.gz dino-b589275ab46d42584bfc99edfa2054e9c8841ccc.zip |
Actually perform the database update when changing blind trust
Diffstat (limited to 'plugins/omemo/src/trust_manager.vala')
-rw-r--r-- | plugins/omemo/src/trust_manager.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo/src/trust_manager.vala b/plugins/omemo/src/trust_manager.vala index 9f1ad047..2631513b 100644 --- a/plugins/omemo/src/trust_manager.vala +++ b/plugins/omemo/src/trust_manager.vala @@ -24,7 +24,7 @@ public class TrustManager { db.trust.update() .with(db.trust.identity_id, "=", account.id) .with(db.trust.address_name, "=", jid.bare_jid.to_string()) - .set(db.trust.blind_trust, blind_trust); + .set(db.trust.blind_trust, blind_trust).perform(); } public void set_device_trust(Account account, Jid jid, int device_id, Database.IdentityMetaTable.TrustLevel trust_level) { |