mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
remove ClosedGroupUpdateMessageSendJob in database
This commit is contained in:
parent
b85c9eb781
commit
568fddf91d
@ -56,9 +56,10 @@ public class SQLCipherOpenHelper extends SQLiteOpenHelper {
|
||||
private static final int lokiV18_CLEAR_BG_POLL_JOBS = 39;
|
||||
private static final int lokiV19 = 40;
|
||||
private static final int lokiV20 = 41;
|
||||
private static final int lokiV21 = 42;
|
||||
|
||||
// Loki - onUpgrade(...) must be updated to use Loki version numbers if Signal makes any database changes
|
||||
private static final int DATABASE_VERSION = lokiV20;
|
||||
private static final int DATABASE_VERSION = lokiV21;
|
||||
private static final String DATABASE_NAME = "signal.db";
|
||||
|
||||
private final Context context;
|
||||
@ -252,6 +253,10 @@ public class SQLCipherOpenHelper extends SQLiteOpenHelper {
|
||||
);
|
||||
}
|
||||
|
||||
if (oldVersion < lokiV21) {
|
||||
deleteJobRecords(db, "ClosedGroupUpdateMessageSendJob");
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
} finally {
|
||||
db.endTransaction();
|
||||
|
Loading…
Reference in New Issue
Block a user