MessageReceiver: handle sender key distro message included in any proto

This commit is contained in:
Scott Nonnenberg 2023-01-25 14:59:40 -08:00 committed by GitHub
parent 78a33f28c8
commit 257f5e1231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1413,8 +1413,7 @@ export default class MessageReceiver
envelope,
content.senderKeyDistributionMessage
);
} else {
// Note: `story = true` can be set for sender key distribution messages
}
const isStoryReply = Boolean(content.dataMessage?.storyContext);
const isGroupStoryReply = Boolean(
@ -1466,7 +1465,6 @@ export default class MessageReceiver
this.removeFromCache(envelope);
return { plaintext: undefined, envelope };
}
}
if (content.pniSignatureMessage) {
inProgressMessageType = 'pni signature';