Change signature of selectPushProvider and add missing unit test.
This commit is contained in:
parent
d97d561b13
commit
500659d4e1
6 changed files with 27 additions and 11 deletions
|
|
@ -142,7 +142,7 @@ class LoggedInPresenter @Inject constructor(
|
|||
.also { Timber.tag(pusherTag.value).w("No distributors available") }
|
||||
.also {
|
||||
// In this case, consider the push provider is chosen.
|
||||
pushService.selectPushProvider(matrixClient, pushProvider)
|
||||
pushService.selectPushProvider(matrixClient.sessionId, pushProvider)
|
||||
}
|
||||
.also { pusherRegistrationState.value = AsyncData.Failure(PusherRegistrationFailure.NoDistributorsAvailable()) }
|
||||
pushService.registerWith(matrixClient, pushProvider, distributor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue