aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSamuel Hand <samuel.hand@openmailbox.org>2018-08-11 15:56:30 +0100
committerSamuel Hand <samuel.hand@openmailbox.org>2018-08-11 15:56:30 +0100
commitb589275ab46d42584bfc99edfa2054e9c8841ccc (patch)
tree82bf8f924362ac08862533cb121412372becf3c1 /plugins
parent9b984289966cc6c29f5ce14daa76de1a380a42cd (diff)
downloaddino-b589275ab46d42584bfc99edfa2054e9c8841ccc.tar.gz
dino-b589275ab46d42584bfc99edfa2054e9c8841ccc.zip
Actually perform the database update when changing blind trust
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo/src/trust_manager.vala2
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) {