Change signature of getCurrentDistributor.

This commit is contained in:
Benoit Marty 2024-11-15 15:18:28 +01:00
parent 500659d4e1
commit f0aca004ba
9 changed files with 13 additions and 16 deletions

View file

@ -93,7 +93,7 @@ class NotificationSettingsPresenter @Inject constructor(
LaunchedEffect(refreshPushProvider) {
val p = pushService.getCurrentPushProvider()
val name = p?.getCurrentDistributor(matrixClient)?.name
val name = p?.getCurrentDistributor(matrixClient.sessionId)?.name
currentDistributorName = if (name != null) {
AsyncData.Success(name)
} else {