Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
beeper: Don't waste time kicking appservice users when purging rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtgmurray committed Dec 1, 2023
1 parent 350d582 commit de2aeae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synapse/handlers/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,11 @@ async def shutdown_room(
if not self.hs.is_mine_id(user_id):
continue

# BEEPER HACK: Remove after we've cleaned up synapse bridges
if user_id.startswith("@_"):
logger.info("Skipping kicking %r from %r because it's a appservice user...", user_id, room_id)
continue

logger.info("Kicking %r from %r...", user_id, room_id)

try:
Expand Down

0 comments on commit de2aeae

Please sign in to comment.