Element call URL must have https scheme.
This commit is contained in:
parent
6eed650ad0
commit
4e658be3cc
3 changed files with 29 additions and 10 deletions
|
|
@ -39,7 +39,6 @@
|
|||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="http" />
|
||||
<data android:scheme="https" />
|
||||
|
||||
<data android:host="call.element.io" />
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import javax.inject.Inject
|
|||
|
||||
class CallIntentDataParser @Inject constructor() {
|
||||
|
||||
private val validHttpSchemes = sequenceOf("http", "https")
|
||||
private val validHttpSchemes = sequenceOf("https")
|
||||
|
||||
fun parse(data: String?): String? {
|
||||
val parsedUrl = data?.let { Uri.parse(data) } ?: return null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue