MessageReceiver: Drop messages with GroupContextV2

This commit is contained in:
Scott Nonnenberg 2020-04-14 11:32:11 -07:00
parent b7d56def82
commit 97a6e01d24
5 changed files with 31 additions and 89 deletions

View file

@ -1107,6 +1107,14 @@ class MessageReceiverInner extends EventTarget {
);
}
if (msg.groupV2) {
window.log.warn(
'MessageReceiver.handleDataMessage: Dropping GroupsV2 message'
);
this.removeFromCache(envelope);
return;
}
if (
msg.flags &&
msg.flags & window.textsecure.protobuf.DataMessage.Flags.END_SESSION