mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
65c5592b8e
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.
1 line
No EOL
73 B
Text
1 line
No EOL
73 B
Text
Fix some problems with authenticating redactions in recent room versions. |