sendMessage refactor, initial group stuff (breaks message storage)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user