diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-11-05 12:21:59 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-11-05 12:21:59 +0000 |
commit | 1dffa78701d43b299419090d544fb8bb91ab4d5b (patch) | |
tree | 0fda7d3bfea7f7671f0b886d048138356e824b79 /tests/rest | |
parent | Remove the psutil dependency (#6318) (diff) | |
download | synapse-1dffa78701d43b299419090d544fb8bb91ab4d5b.tar.xz |
Filter events_before and events_after in /context requests
While the current version of the spec doesn't say much about how this endpoint uses filters (see https://github.com/matrix-org/matrix-doc/issues/2338), the current implementation is that some fields of an EventFilter apply (the ones that are used when running the SQL query) and others don't (the ones that are used by the filter itself) because we don't call event_filter.filter(...). This seems counter-intuitive and probably not what we want so this commit fixes it.
Diffstat (limited to 'tests/rest')
0 files changed, 0 insertions, 0 deletions