We probably shouldn't be sending App Services events from every room we know about #291
Labels
A-Application-Services
Issues affecting the AS API
enhancement
A suggestion for a relatively simple improvement to the protocol
While undocumented in the Application Services API, Synapse's current behavior is to check on any event it sees for whether an app service is interested in it, and then send it off to that app service. We should further filter these by the rooms than an application service are a part of.
Without this constraint, for instance with Half-Shot's Discord Bridge, typing
!discord
in any channel causes about 10 different bots running on 10 different homeservers to try and answer. This also reportedly affects @turt2live's webhook bridge.I plan to build the current loose functionality into Dendrite just to remain backwards compatible, but we really should change this unless anyone can give a reason why app services should get events from rooms they aren't in.
The text was updated successfully, but these errors were encountered: