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
pull/749/head
lilia 10 years ago
parent 4a1d0ebdb9
commit 8f003ea69d

@ -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) {

@ -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) {

Loading…
Cancel
Save