Compare commits

...

2 Commits
main ... v5.9.6

Author SHA1 Message Date
Greyson Parrelli
b77fab9c75 Bump version to 5.9.6 2021-05-05 21:04:25 -04:00
Greyson Parrelli
831f7c305d Fix possible NPE in database migration. 2021-05-05 21:03:30 -04:00
2 changed files with 10 additions and 6 deletions

View File

@@ -62,14 +62,14 @@ protobuf {
}
def canonicalVersionCode = 832
def canonicalVersionName = "5.9.5"
def canonicalVersionName = "5.9.6"
def postFixSize = 100
def abiPostFix = ['universal' : 0,
'armeabi-v7a' : 1,
'arm64-v8a' : 2,
'x86' : 3,
'x86_64' : 4]
def abiPostFix = ['universal' : 5,
'armeabi-v7a' : 6,
'arm64-v8a' : 7,
'x86' : 8,
'x86_64' : 9]
def keystores = [ 'debug' : loadKeystoreProperties('keystore.debug.properties') ]

View File

@@ -1376,6 +1376,10 @@ public class SQLCipherOpenHelper extends SQLiteOpenHelper implements SignalDatab
byte[] reactions = cursor.getBlob(cursor.getColumnIndexOrThrow("reactions"));
long notifiedTimestamp = cursor.getLong(cursor.getColumnIndexOrThrow("notified_timestamp"));
if (reactions == null) {
continue;
}
try {
boolean hasReceiveLaterThanNotified = ReactionList.parseFrom(reactions)
.getReactionsList()