mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-29 21:53:25 -05:00
487f1bb49d
Sometimes the filtering function can return a pruned version of an event (on top of either the event itself or an empty list), if it thinks the user should be able to see that there's an event there but not the content of that event. Therefore, the previous logic of 'if filtered is empty then we can use the event we retrieved from the database' is flawed, and we should use the event returned by the filtering function.