mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
Add element call widget type.
This commit is contained in:
parent
6b0f8318b7
commit
125135c250
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue