MessageReceiver: handle sender key distro message included in any proto
This commit is contained in:
parent
78a33f28c8
commit
257f5e1231
1 changed files with 47 additions and 49 deletions
|
@ -1413,8 +1413,7 @@ export default class MessageReceiver
|
||||||
envelope,
|
envelope,
|
||||||
content.senderKeyDistributionMessage
|
content.senderKeyDistributionMessage
|
||||||
);
|
);
|
||||||
} else {
|
}
|
||||||
// Note: `story = true` can be set for sender key distribution messages
|
|
||||||
|
|
||||||
const isStoryReply = Boolean(content.dataMessage?.storyContext);
|
const isStoryReply = Boolean(content.dataMessage?.storyContext);
|
||||||
const isGroupStoryReply = Boolean(
|
const isGroupStoryReply = Boolean(
|
||||||
|
@ -1466,7 +1465,6 @@ export default class MessageReceiver
|
||||||
this.removeFromCache(envelope);
|
this.removeFromCache(envelope);
|
||||||
return { plaintext: undefined, envelope };
|
return { plaintext: undefined, envelope };
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (content.pniSignatureMessage) {
|
if (content.pniSignatureMessage) {
|
||||||
inProgressMessageType = 'pni signature';
|
inProgressMessageType = 'pni signature';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue