mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-02 12:05:46 +01:00
Bump to libsignal v0.94.0
This commit is contained in:
committed by
Michelle Tang
parent
155bba2f81
commit
b4404bb5b4
+2
-2
@@ -76,7 +76,7 @@ public class TextSecureSessionStore implements SignalServiceSessionStore {
|
||||
try (SignalSessionLock.Lock unused = ReentrantSessionLock.INSTANCE.acquire()) {
|
||||
SessionRecord sessionRecord = SignalDatabase.sessions().load(accountId, address);
|
||||
|
||||
return sessionRecord != null && sessionRecord.hasSenderChain();
|
||||
return sessionRecord != null && sessionRecord.hasSenderChain(0.0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -188,6 +188,6 @@ public class TextSecureSessionStore implements SignalServiceSessionStore {
|
||||
}
|
||||
|
||||
private static boolean isActive(@Nullable SessionRecord record) {
|
||||
return record != null && record.hasSenderChain();
|
||||
return record != null && record.hasSenderChain(0.0);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ class BufferedSessionStore(private val selfServiceId: ServiceId) : SignalService
|
||||
|
||||
if (fromDatabase != null) {
|
||||
store[address] = fromDatabase
|
||||
return fromDatabase.hasSenderChain()
|
||||
return fromDatabase.hasSenderChain(0.0)
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user