summary refs log tree commit diff
path: root/synapse/logging/utils.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-16Use the filtered version of an event when responding to /context requests ↵Brendan Abolivier1-1/+4
for that event 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.
2019-12-13