Actually perform the database update when changing blind trust

This commit is contained in:
Samuel Hand 2018-08-11 15:56:30 +01:00
parent 9b98428996
commit b589275ab4

View file

@ -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) {