From 8f003ea69d1f4ce6c5253a1dc598abd1a3a20956 Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 2 Oct 2015 10:43:34 -0700 Subject: [PATCH] Don't throw if sender is not a group member This could happen if we simply failed to process an earlier group update correctly. // FREEBIE --- js/libtextsecure.js | 2 +- libtextsecure/message_receiver.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 055bc4f26f6e..89b93ea5a57e 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -39476,7 +39476,7 @@ MessageReceiver.prototype = { if (fromIndex < 0) { //TODO: This could be indication of a race... - throw new Error("Sender was not a member of the group they were sending from"); + console.log("Sender was not a member of the group they were sending from"); } switch(decrypted.group.type) { diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index d7b8555fbb7c..bf64ea847369 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -299,7 +299,7 @@ MessageReceiver.prototype = { if (fromIndex < 0) { //TODO: This could be indication of a race... - throw new Error("Sender was not a member of the group they were sending from"); + console.log("Sender was not a member of the group they were sending from"); } switch(decrypted.group.type) {