1
0

Log when we delete room in bg update (#6816)

* commit 'e0992fcc5':
  Log when we delete room in bg update (#6816)
This commit is contained in:
Andrew Morgan
2020-03-23 17:03:18 +00:00
2 changed files with 3 additions and 0 deletions

1
changelog.d/6816.misc Normal file
View File

@@ -0,0 +1 @@
Add background update to clean out left rooms from current state.

View File

@@ -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