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 aca34c0dec
commit 68a76f83a0
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)"
}