summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2023-03-16 12:11:14 +0000
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2023-03-16 12:11:14 +0000
commit4fdd64799e2b08a2fcb387ab2595c88e383055a4 (patch)
treeb89776c919e65fe651099a44af0dbd92d1389ed3
parent(We now kick off refreshing remote profiles from the background, so don't alw... (diff)
downloadsynapse-github/rei/userdirpriv3_queue_to_refresh_initialpop.tar.xz
-rwxr-xr-xsynapse/_scripts/synapse_port_db.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py

index 2c9cbf8b27..29a5ef4311 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py
@@ -283,6 +283,13 @@ class MockHomeserver: def get_replication_notifier(self) -> ReplicationNotifier: return ReplicationNotifier() + def get_user_directory_handler(self) -> object: + class FakeUserDirectoryHandler: + def kick_off_remote_profile_refresh_process(self) -> None: + pass + + return FakeUserDirectoryHandler() + class Porter: def __init__(