fix: properly handle "New conversation" shortcut
Refs: https://github.com/FossifyOrg/Messages/issues/416
This commit is contained in:
parent
cda1ad130c
commit
988b532581
2 changed files with 6 additions and 1 deletions
|
|
@ -137,7 +137,8 @@ class NewConversationActivity : SimpleActivity() {
|
|||
|
||||
private fun isThirdPartyIntent(): Boolean {
|
||||
val result = SmsIntentParser.parse(intent)
|
||||
if (result != null) {
|
||||
|
||||
if (result != null && (result.first.isNotEmpty() || result.second.isNotEmpty())) {
|
||||
val (body, recipients) = result
|
||||
launchThreadActivity(
|
||||
phoneNumber = URLDecoder.decode(recipients.replace("+", "%2b").trim()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue