sendMessage refactor, initial group stuff (breaks message storage)
This commit is contained in:
parent
fb2aa6144c
commit
d0fd3e94d8
13 changed files with 335 additions and 219 deletions
|
@ -33,7 +33,8 @@ textsecure.api.sendMessages = function(destination, messageArray) {
|
|||
msg.destinationRegistrationId === undefined ||
|
||||
msg.body === undefined ||
|
||||
msg.timestamp == undefined ||
|
||||
msg.relay !== undefined)
|
||||
msg.relay !== undefined ||
|
||||
msg.destination !== undefined)
|
||||
throw new Error("Invalid message");
|
||||
|
||||
messagesSentMap[destination + "." + messageArray[i].destinationDeviceId] = msg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue