Skip to content
Snippets Groups Projects
  • Richard van der Hoff's avatar
    2091c91f
    More refactoring in `get_events_as_list` (#5707) · 2091c91f
    Richard van der Hoff authored
    We can now use `_get_events_from_cache_or_db` rather than going right back to
    the database, which means that (a) we can benefit from caching, and (b) it
    opens the way forward to more extensive checks on the original event.
    
    We now always require the original event to exist before we will serve up a
    redaction.
    More refactoring in `get_events_as_list` (#5707)
    Richard van der Hoff authored
    We can now use `_get_events_from_cache_or_db` rather than going right back to
    the database, which means that (a) we can benefit from caching, and (b) it
    opens the way forward to more extensive checks on the original event.
    
    We now always require the original event to exist before we will serve up a
    redaction.