mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 04:15:03 -04:00
Clean-up events persistance code (#14411)
By removing unused variables and making some arguments required which are always provided.
This commit is contained in:
parent
95f7a65a56
commit
fb66fae84b
3 changed files with 4 additions and 8 deletions
|
@ -716,8 +716,6 @@ class EventsPersistenceStorageController:
|
|||
)
|
||||
if not is_still_joined:
|
||||
logger.info("Server no longer in room %s", room_id)
|
||||
latest_event_ids = set()
|
||||
current_state = {}
|
||||
delta.no_longer_in_room = True
|
||||
|
||||
state_delta_for_room[room_id] = delta
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue