handle sending group SMS

- in Context.getMessages, split the sender number by spaces " " to get each contact.
- apply update in the android-smsmms lib - do not pass threadId in Transaction.sendNewMessage
This commit is contained in:
darthpaul 2022-05-01 03:33:47 +01:00
parent 43d5a0f665
commit 72cbb342a6
4 changed files with 9 additions and 6 deletions

View file

@ -35,7 +35,7 @@ class DirectReplyReceiver : BroadcastReceiver() {
transaction.setExplicitBroadcastForSentSms(smsSentIntent)
transaction.setExplicitBroadcastForDeliveredSms(deliveredIntent)
transaction.sendNewMessage(message, threadId)
transaction.sendNewMessage(message)
} catch (e: Exception) {
context.showErrorToast(e)
}