Fix setIdentityKeyTrust update statement
This commit is contained in:
parent
160e4017df
commit
31d375c2c3
|
@ -874,8 +874,8 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
|||
ContentValues values = new ContentValues();
|
||||
values.put(AxolotlService.SQLiteAxolotlStore.TRUSTED, trust.ordinal());
|
||||
int rows = db.update(AxolotlService.SQLiteAxolotlStore.IDENTITIES_TABLENAME, values,
|
||||
AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? "
|
||||
+ AxolotlService.SQLiteAxolotlStore.NAME + " = ? "
|
||||
AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? AND "
|
||||
+ AxolotlService.SQLiteAxolotlStore.NAME + " = ? AND "
|
||||
+ AxolotlService.SQLiteAxolotlStore.FINGERPRINT + " = ? ",
|
||||
selectionArgs);
|
||||
return rows == 1;
|
||||
|
|
Loading…
Reference in New Issue