diff --git a/vector/src/main/java/im/vector/app/features/call/conference/JitsiWidgetProperties.kt b/vector/src/main/java/im/vector/app/features/call/conference/JitsiWidgetProperties.kt index e14e7d15c6..46e2e68dd6 100644 --- a/vector/src/main/java/im/vector/app/features/call/conference/JitsiWidgetProperties.kt +++ b/vector/src/main/java/im/vector/app/features/call/conference/JitsiWidgetProperties.kt @@ -32,8 +32,9 @@ class JitsiWidgetProperties(private val uriString: String, val stringProvider: S private val configs: Map by lazy { configString?.split("&") ?.map { it.split("=") } + ?.filter { it.size == 2 } ?.map { (key, value) -> key to URLDecoder.decode(value, "UTF-8") } ?.toMap() - ?: mapOf() + .orEmpty() } }