Let enterprise build be able to use a different notification channel for noisy notification.
This commit is contained in:
parent
7535258bae
commit
6e958f3132
17 changed files with 135 additions and 26 deletions
|
|
@ -30,4 +30,6 @@ data class InternalElementWellKnown(
|
|||
val rageshakeUrl: String? = null,
|
||||
@SerialName("brand_color")
|
||||
val brandColor: String? = null,
|
||||
@SerialName("notification_sound")
|
||||
val notificationSound: String? = null,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -15,4 +15,5 @@ internal fun InternalElementWellKnown.map() = ElementWellKnown(
|
|||
enforceElementPro = enforceElementPro,
|
||||
rageshakeUrl = rageshakeUrl,
|
||||
brandColor = brandColor,
|
||||
notificationSound = notificationSound,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ class DefaultSessionWellknownRetrieverTest {
|
|||
enforceElementPro = null,
|
||||
rageshakeUrl = null,
|
||||
brandColor = null,
|
||||
notificationSound = null,
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
@ -51,7 +52,8 @@ class DefaultSessionWellknownRetrieverTest {
|
|||
"registration_helper_url": "a_registration_url",
|
||||
"enforce_element_pro": true,
|
||||
"rageshake_url": "a_rageshake_url",
|
||||
"brand_color": "#FF0000"
|
||||
"brand_color": "#FF0000",
|
||||
"notification_sound": "a_notification_sound.flac"
|
||||
}""".trimIndent().toByteArray()
|
||||
)
|
||||
}
|
||||
|
|
@ -63,6 +65,7 @@ class DefaultSessionWellknownRetrieverTest {
|
|||
enforceElementPro = true,
|
||||
rageshakeUrl = "a_rageshake_url",
|
||||
brandColor = "#FF0000",
|
||||
notificationSound = "a_notification_sound.flac",
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
@ -89,6 +92,7 @@ class DefaultSessionWellknownRetrieverTest {
|
|||
enforceElementPro = true,
|
||||
rageshakeUrl = "a_rageshake_url",
|
||||
brandColor = null,
|
||||
notificationSound = null,
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue