Skip to content

core: revert message intercept behavior#2747

Merged
julianoes merged 1 commit intomainfrom
pr-fix-intercept-forwarding
Jan 6, 2026
Merged

core: revert message intercept behavior#2747
julianoes merged 1 commit intomainfrom
pr-fix-intercept-forwarding

Conversation

@julianoes
Copy link
Collaborator

This restores the original behavior where the intercept callback is called before message forwarding, allowing users to modify or drop messages before they are forwarded to other connections.

With this fix:

  • Modifications in intercept callback affect forwarded messages
  • Dropping a message (returning false) prevents forwarding

The behavior had been changed by accident in:
#2638

This restores the original behavior where the intercept callback is
called before message forwarding, allowing users to modify or drop
messages before they are forwarded to other connections.

With this fix:
- Modifications in intercept callback affect forwarded messages
- Dropping a message (returning false) prevents forwarding

The behavior had been changed by accident in:
#2638
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2026

@julianoes julianoes merged commit 5a8f934 into main Jan 6, 2026
56 checks passed
@julianoes julianoes deleted the pr-fix-intercept-forwarding branch January 6, 2026 01:21
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.

1 participant