We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c3d1e commit f68055cCopy full SHA for f68055c
Signal/Registration/RegistrationCoordinatorImpl.swift
@@ -1207,7 +1207,7 @@ public class RegistrationCoordinatorImpl: RegistrationCoordinator {
1207
.then { _ in
1208
self.db.write { tx in
1209
/// For new registrations, we want to force-set some state.
1210
- if self.persistedState.restoreMethod?.backupType != nil {
+ if self.persistedState.restoreMethod?.backupType == nil {
1211
/// Read receipts should be on by default.
1212
self.deps.receiptManager.setAreReadReceiptsEnabled(true, tx)
1213
self.deps.receiptManager.setAreStoryViewedReceiptsEnabled(true, tx)
0 commit comments