parent
fd30dc6f1a
commit
9c3f8a1868
2 changed files with 2 additions and 2 deletions
|
@ -17020,7 +17020,7 @@ window.textsecure.messaging = function() {
|
|||
|
||||
doSendMessage = function(number, devicesForNumber, recurse) {
|
||||
var groupUpdate = Promise.resolve(true);
|
||||
if (message.group && message.group.id)
|
||||
if (message.group && message.group.id && message.group.type != textsecure.protobuf.PushMessageContent.GroupContext.Type.QUIT)
|
||||
groupUpdate = refreshGroup(number, message.group.id, devicesForNumber);
|
||||
return groupUpdate.then(function() {
|
||||
return sendMessageToDevices(timestamp, number, devicesForNumber, message).then(function(result) {
|
||||
|
|
|
@ -179,7 +179,7 @@ window.textsecure.messaging = function() {
|
|||
|
||||
doSendMessage = function(number, devicesForNumber, recurse) {
|
||||
var groupUpdate = Promise.resolve(true);
|
||||
if (message.group && message.group.id)
|
||||
if (message.group && message.group.id && message.group.type != textsecure.protobuf.PushMessageContent.GroupContext.Type.QUIT)
|
||||
groupUpdate = refreshGroup(number, message.group.id, devicesForNumber);
|
||||
return groupUpdate.then(function() {
|
||||
return sendMessageToDevices(timestamp, number, devicesForNumber, message).then(function(result) {
|
||||
|
|
Loading…
Reference in a new issue