Skip to content

Conversation

@vinikjkkj
Copy link
Collaborator

Sometimes if you send a message to a group, you might receive "No sessions" and the message won't be sent to anyone.

Generally, this problem only happens with one device using a bad client (perhaps an outdated Baileys client).

This PR makes the message to still be sent to the other participants even if the encryption fails with one client.

#1854

@whiskeysockets-bot
Copy link
Contributor

whiskeysockets-bot commented Dec 28, 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#per-recipient-enc-error

# Yarn (v2+)
yarn add @whiskeysockets/baileys@WhiskeySockets/Baileys#per-recipient-enc-error

# PNPM
pnpm add @whiskeysockets/baileys@WhiskeySockets/Baileys#per-recipient-enc-error

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

@vinikjkkj vinikjkkj force-pushed the per-recipient-enc-error branch from 3bc5c16 to 9af7afe Compare December 28, 2025 16:07
Copy link
Collaborator

@jlucaso1 jlucaso1 left a comment

Choose a reason for hiding this comment

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

good job

@purpshell purpshell merged commit 432c26a into master Jan 8, 2026
4 checks passed
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.

9 participants