Do not attempt to restore the pusher after 2 removal in a short time.

This commit is contained in:
Benoit Marty
2025-11-13 23:12:57 +01:00
parent f5ca009887
commit ced5af18d0
4 changed files with 136 additions and 11 deletions

View File

@@ -333,7 +333,7 @@ class NotificationSettingsPresenterTest {
}
private fun createFakePushService(
registerWithLambda: suspend (MatrixClient, PushProvider, Distributor) -> Result<Unit> = { _, _, _ ->
registerWithLambda: (MatrixClient, PushProvider, Distributor) -> Result<Unit> = { _, _, _ ->
Result.success(Unit)
}
): PushService {