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

@ -30,7 +30,7 @@ class HeadlessSmsSendService : Service() {
transaction.setExplicitBroadcastForSentSms(smsSentIntent)
transaction.setExplicitBroadcastForDeliveredSms(deliveredIntent)
transaction.sendNewMessage(message, getThreadId(number))
transaction.sendNewMessage(message)
} catch (ignored: Exception) {
}