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:
parent
aca34c0dec
commit
68a76f83a0
7 changed files with 95 additions and 40 deletions
|
|
@ -18,4 +18,6 @@ package io.element.android.libraries.pushproviders.api
|
|||
data class Distributor(
|
||||
val value: String,
|
||||
val name: String,
|
||||
)
|
||||
) {
|
||||
val fullName = "$name ($value)"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue