You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would just like to inform @michaelansel that the robot is running the middleware on the enter command aswell.
And in hipchat adapter, it runs the enter command for all users when joining a room.
Dont know if you want it to listen to enter or not?
The text was updated successfully, but these errors were encountered:
Yes, that is expected behavior; middleware will execute for every matched Listener (regardless of type). If you want to filter, check to see what type of message is being processed (just like the core does for routing). If this is a common need, I'll see about adding a helper to match the current Listener creation helpers.
(definitely an interesting use case I didn't consider)
I have run into this too. I think there could be more explicit details on there, and the example documentation should demonstrate that, as that's the kind of listener most people are going to be using.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I would just like to inform @michaelansel that the robot is running the middleware on the enter command aswell.
And in hipchat adapter, it runs the enter command for all users when joining a room.
Dont know if you want it to listen to enter or not?
The text was updated successfully, but these errors were encountered: