android, desktop: some alerts became privacy sensitive (#3554)

* android, desktop: some alerts became privacy sensitive

* changes
This commit is contained in:
Stanislav Dmitrenko
2023-12-14 13:11:19 +00:00
committed by GitHub
parent 8cec5428ee
commit 974fa448b4
10 changed files with 67 additions and 48 deletions
@@ -124,7 +124,9 @@ fun processIntent(intent: Intent?) {
when (intent?.action) {
"android.intent.action.VIEW" -> {
val uri = intent.data
if (uri != null) connectIfOpenedViaUri(chatModel.remoteHostId(), uri.toURI(), ChatModel)
if (uri != null) {
chatModel.appOpenUrl.value = null to uri.toURI()
}
}
}
}