mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Make sure existing identity entries are approved in migration
// FREEBIE
This commit is contained in:
parent
0367bf0de4
commit
5455bdffb2
@ -877,6 +877,8 @@ public class DatabaseFactory {
|
||||
|
||||
db.execSQL("DROP INDEX archived_count_index");
|
||||
db.execSQL("CREATE INDEX IF NOT EXISTS archived_count_index ON thread (archived, message_count)");
|
||||
|
||||
db.execSQL("UPDATE identities SET blocking_approval = '1'");
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
Loading…
Reference in New Issue
Block a user