mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-03 20:47:32 +01:00
Add element call widget type.
This commit is contained in:
parent
6b0f8318b7
commit
125135c250
@ -28,7 +28,8 @@ private val DEFINED_TYPES by lazy {
|
||||
WidgetType.StickerPicker,
|
||||
WidgetType.Grafana,
|
||||
WidgetType.Custom,
|
||||
WidgetType.IntegrationManager
|
||||
WidgetType.IntegrationManager,
|
||||
WidgetType.ElementCall
|
||||
)
|
||||
}
|
||||
|
||||
@ -47,6 +48,7 @@ sealed class WidgetType(open val preferred: String, open val legacy: String = pr
|
||||
object Grafana : WidgetType("m.grafana")
|
||||
object Custom : WidgetType("m.custom")
|
||||
object IntegrationManager : WidgetType("m.integration_manager")
|
||||
object ElementCall : WidgetType("io.element.call")
|
||||
data class Fallback(override val preferred: String) : WidgetType(preferred)
|
||||
|
||||
fun matches(type: String): Boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user