mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 12:46:06 -04:00
Make StreamToken.room_key
be a RoomStreamToken
instance. (#8281)
This commit is contained in:
parent
c312ee3cde
commit
fe8ed1b46f
16 changed files with 114 additions and 99 deletions
|
@ -973,6 +973,7 @@ class EventCreationHandler:
|
|||
This should only be run on the instance in charge of persisting events.
|
||||
"""
|
||||
assert self._is_event_writer
|
||||
assert self.storage.persistence is not None
|
||||
|
||||
if ratelimit:
|
||||
# We check if this is a room admin redacting an event so that we
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue