Remove debugging code.
This commit is contained in:
parent
d6467a8d06
commit
d7386856a1
1 changed files with 1 additions and 7 deletions
|
|
@ -135,13 +135,7 @@ class EditDefaultNotificationSettingPresenter @AssistedInject constructor(
|
|||
suspend {
|
||||
// On modern clients, we don't have different settings for encrypted and non-encrypted rooms (Legacy clients did).
|
||||
notificationSettingsService.setDefaultRoomNotificationMode(isEncrypted = true, mode = mode, isOneToOne = isOneToOne).getOrThrow()
|
||||
val result = notificationSettingsService.setDefaultRoomNotificationMode(isEncrypted = false, mode = mode, isOneToOne = isOneToOne)
|
||||
|
||||
if (result.isFailure) {
|
||||
result.exceptionOrNull()?.printStackTrace()
|
||||
}
|
||||
|
||||
result.getOrThrow()
|
||||
notificationSettingsService.setDefaultRoomNotificationMode(isEncrypted = false, mode = mode, isOneToOne = isOneToOne).getOrThrow()
|
||||
}.runCatchingUpdatingState(action)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue