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
41a931011c
commit
deb8345f85
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