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
This commit is contained in:
parent
4a1d0ebdb9
commit
8f003ea69d
2 changed files with 2 additions and 2 deletions
|
@ -39476,7 +39476,7 @@ MessageReceiver.prototype = {
|
||||||
|
|
||||||
if (fromIndex < 0) {
|
if (fromIndex < 0) {
|
||||||
//TODO: This could be indication of a race...
|
//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) {
|
switch(decrypted.group.type) {
|
||||||
|
|
|
@ -299,7 +299,7 @@ MessageReceiver.prototype = {
|
||||||
|
|
||||||
if (fromIndex < 0) {
|
if (fromIndex < 0) {
|
||||||
//TODO: This could be indication of a race...
|
//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) {
|
switch(decrypted.group.type) {
|
||||||
|
|
Loading…
Reference in a new issue