summary refs log tree commit diff
path: root/changelog.d/5699.bugfix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1.2.0rc1Andrew Morgan2019-07-221-1/+0
|
* Refactor `get_events_as_list` (#5699)Richard van der Hoff2019-07-171-0/+1
A couple of changes here: * get rid of a redundant `allow_rejected` condition - we should already have filtered out any rejected events before we get to that point in the code, and the redundancy is confusing. Instead, let's stick in an assertion just to make double-sure we aren't leaking rejected events by mistake. * factor out a `_get_events_from_cache_or_db` method, which is going to be important for a forthcoming fix to redactions.