fix(Slack Trigger Node): Fix user ignore filter for message_changed events#23894
fix(Slack Trigger Node): Fix user ignore filter for message_changed events#23894mag123c wants to merge 2 commits inton8n-io:masterfrom
Conversation
|
Hey @mag123c, Thank you for your contribution. We appreciate the time and effort you’ve taken to submit this pull request. Before we can proceed, please ensure the following: Regarding new nodes: If your node integrates with an AI service that you own or represent, please email nodes@n8n.io and we will be happy to discuss the best approach. About review timelines: Thank you again for contributing to n8n. |
Summary
Fix
Usernames or IDs to Ignorefilter not working for message_changed events.When Slack asynchronously enriches messages (e.g., adding locale metadata for non-English languages), it sends a message_changed event where the user ID is in event.message.user instead of event.user. The ignore filter was only checking event.user, causing the filter to fail and resulting in infinite loops.
Now checks both event.user and event.message.user (as fallback).
Related Linear tickets, Github issues, and Community forum posts
Issue: #23782
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)