mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Do not process messages while pending restore decision.
This commit is contained in:
@@ -86,7 +86,10 @@ class RegistrationValues internal constructor(store: KeyValueStore) : SignalStor
|
||||
store.beginWrite()
|
||||
.putBlob(RESTORE_DECISION_STATE, newValue.encode())
|
||||
.apply()
|
||||
AppDependencies.incomingMessageObserver.notifyRegistrationStateChanged()
|
||||
|
||||
if (newValue.isTerminal) {
|
||||
AppDependencies.incomingMessageObserver.notifyRestoreDecisionMade()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user