mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 02:31:59 +00:00
Log when we delete room in bg update (#6816)
This commit is contained in:
parent
184303b865
commit
e0992fcc5b
1
changelog.d/6816.misc
Normal file
1
changelog.d/6816.misc
Normal file
@ -0,0 +1 @@
|
||||
Add background update to clean out left rooms from current state.
|
@ -365,6 +365,8 @@ class MainStateBackgroundUpdateStore(RoomMemberWorkerStore):
|
||||
|
||||
left_rooms = set(room_ids) - joined_room_ids
|
||||
|
||||
logger.info("Deleting current state left rooms: %r", left_rooms)
|
||||
|
||||
# First we get all users that we still think were joined to the
|
||||
# room. This is so that we can mark those device lists as
|
||||
# potentially stale, since there may have been a period where the
|
||||
|
Loading…
Reference in New Issue
Block a user