Do not rely only on distributor name but consider value (appId) as well.
This will fix issue when multiple UnifiedPush distributor with the same friendly name are available on the phone. Fixes #4306
This commit is contained in:
@@ -18,4 +18,6 @@ package io.element.android.libraries.pushproviders.api
|
||||
data class Distributor(
|
||||
val value: String,
|
||||
val name: String,
|
||||
)
|
||||
) {
|
||||
val fullName = "$name ($value)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user