Skip to content
Snippets Groups Projects
Unverified Commit 487f1bb4 authored by Brendan Abolivier's avatar Brendan Abolivier
Browse files

Use the filtered version of an event when responding to /context requests 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.
parent ba57a456
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment