Fix notification profile override crash.

This commit is contained in:
Michelle Tang
2025-08-11 15:54:47 -04:00
parent 86ef32cd4c
commit ee657cb075

View File

@@ -314,7 +314,7 @@ object StorageSyncHelper {
SignalStore.notificationProfile.manuallyDisabledAt = System.currentTimeMillis()
}
}
} else {
} else if (update.new.proto.notificationProfileManualOverride!!.disabledAtTimestampMs != null) {
SignalStore.notificationProfile.manuallyEnabledProfile = 0
SignalStore.notificationProfile.manuallyEnabledUntil = 0
SignalStore.notificationProfile.manuallyDisabledAt = update.new.proto.notificationProfileManualOverride!!.disabledAtTimestampMs!!