[core] NOWEB fix issue with can not read property of null

This commit is contained in:
devlikepro committed 2025-06-16 13:05:14 +07:00
1 parent 9362c5d6ae
commit cde1d084c6
1 file changed
+2 -1
+2 -1
View File
@@ -595,7 +595,8 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
if (
protocolMsg !== null &&
protocolMsg !== undefined &&
protocolMsg.editedMessage
protocolMsg.editedMessage &&
protocolMsg.key
) {
this.sock?.ev.emit('messages.update', [
{