mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 20:55:10 +00:00
Fix notification profile override crash.
This commit is contained in:
@@ -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!!
|
||||
|
||||
Reference in New Issue
Block a user