[core] NOWEB - filter out sender key distribution msg

fix #891
This commit is contained in:
devlikepro committed 2025-04-09 16:05:02 +07:00
1 parent d916f2dea5
commit 5c6acaf10a
1 file changed
+2
@@ -1959,6 +1959,8 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
proto.Message.ProtocolMessage.Type.EPHEMERAL_SYNC_RESPONSE
)
return;
// Ignore key distribution messages
if (message.message.senderKeyDistributionMessage) return;
if (downloadMedia) {
try {