mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-04 21:17:32 +01:00
Robustness
This commit is contained in:
parent
bfd974f698
commit
e27c5c4507
@ -32,8 +32,9 @@ class JitsiWidgetProperties(private val uriString: String, val stringProvider: S
|
||||
private val configs: Map<String, String?> by lazy {
|
||||
configString?.split("&")
|
||||
?.map { it.split("=") }
|
||||
?.filter { it.size == 2 }
|
||||
?.map { (key, value) -> key to URLDecoder.decode(value, "UTF-8") }
|
||||
?.toMap()
|
||||
?: mapOf()
|
||||
.orEmpty()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user