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:
Benoit Marty 2025-02-26 10:55:33 +01:00
parent 41a931011c
commit deb8345f85
7 changed files with 95 additions and 40 deletions

View file

@ -18,4 +18,6 @@ package io.element.android.libraries.pushproviders.api
data class Distributor(
val value: String,
val name: String,
)
) {
val fullName = "$name ($value)"
}