mirror of
https://github.com/mimamch/wa-multi-session.git
synced 2026-04-25 00:36:08 +03:00
[PR #70] [MERGED] Fix crash when "msg.message" is undefined #72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mimamch/wa-multi-session/pull/70
Author: @eabdalmufid
Created: 12/24/2025
Status: ✅ Merged
Merged: 12/24/2025
Merged by: @mimamch
Base:
master← Head:master📝 Commits (1)
abbe7f8fix: guard protocolMessage access with optional chaining📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
src/Whatsapp/Whatsapp.ts(+2 -2)📄 Description
Prevent runtime error by safely checking "protocolMessage" using optional chaining, since some Baileys message events may not include a "message" payload.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.