mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Improve current push provider test: give info about the distributor.
This commit is contained in:
+3
@@ -32,6 +32,7 @@ class FirebasePushProvider(
|
||||
) : PushProvider {
|
||||
override val index = FirebaseConfig.INDEX
|
||||
override val name = FirebaseConfig.NAME
|
||||
override val supportMultipleDistributors = false
|
||||
|
||||
override fun getDistributors(): List<Distributor> {
|
||||
return listOfNotNull(
|
||||
@@ -54,6 +55,8 @@ class FirebasePushProvider(
|
||||
)
|
||||
}
|
||||
|
||||
override suspend fun getCurrentDistributorValue(sessionId: SessionId): String = firebaseDistributor.value
|
||||
|
||||
override suspend fun getCurrentDistributor(sessionId: SessionId) = firebaseDistributor
|
||||
|
||||
override suspend fun unregister(matrixClient: MatrixClient): Result<Unit> {
|
||||
|
||||
Reference in New Issue
Block a user