Add ability to send group messages

This commit is contained in:
Moez Bhatti
2018-01-12 14:53:58 -05:00
parent cba8ce2c2f
commit a3ccdbb667
3 changed files with 49 additions and 26 deletions
@@ -42,7 +42,7 @@ class RemoteMessagingReceiver : BroadcastReceiver() {
val threadId = bundle.getLong("threadId")
val body = remoteInput.getCharSequence("body").toString()
markRead.execute(threadId)
sendMessage.execute(SendMessage.Params(threadId, address, body))
sendMessage.execute(SendMessage.Params(threadId, listOf(address), body))
}
}
}