Skip to content

Conversation

@vinikjkkj
Copy link
Collaborator

Will be ignored:

await sock.sendMessage(jid, { text: undefined })

Will be accepted:

await sock.sendMessage(jid, { text: 'hello' })

This PR is a rework of #1591

@whiskeysockets-bot
Copy link
Contributor

whiskeysockets-bot commented Dec 13, 2025

Thanks for opening this pull request and contributing to the project!

The next step is for the maintainers to review your changes. If everything looks good, it will be approved and merged into the main branch.

In the meantime, anyone in the community is encouraged to test this pull request and provide feedback.

✅ How to confirm it works

If you’ve tested this PR, please comment below with:

Tested and working ✅

This helps us speed up the review and merge process.

📦 To test this PR locally:

# NPM
npm install @whiskeysockets/baileys@WhiskeySockets/Baileys#fix-nullish-values

# Yarn (v2+)
yarn add @whiskeysockets/baileys@WhiskeySockets/Baileys#fix-nullish-values

# PNPM
pnpm add @whiskeysockets/baileys@WhiskeySockets/Baileys#fix-nullish-values

If you encounter any issues or have feedback, feel free to comment as well.

@Salientekill
Copy link

Thank you for your work.

@FightFarewellFearless
Copy link

Thank you!

Copy link
Member

@purpshell purpshell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work and thanks to @FightFarewellFearless for the original implementation. Love to see it

@github-actions
Copy link
Contributor

This PR is stale because it has been open for 14 days with no activity. Remove the stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the Stale label Dec 29, 2025
@vinikjkkj vinikjkkj removed the Stale label Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants