[core] NOWEB - handle no content found messages: TypeError: Cannot read properties of undefined (reading 'pollUpdateMessage')
This commit is contained in:
1 parent
19b752bf15
commit
27e4ce628e
1 file changed
+1
-1
@@ -616,7 +616,7 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
|
||||
}
|
||||
for (const message of messages) {
|
||||
const content = normalizeMessageContent(message.message);
|
||||
if (!content.pollUpdateMessage) {
|
||||
if (!content?.pollUpdateMessage) {
|
||||
continue;
|
||||
}
|
||||
const creationMsgKey = content.pollUpdateMessage.pollCreationMessageKey;
|
||||
|
||||
Reference in new issue
Block a user