diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2023-03-16 12:11:14 +0000 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2023-03-16 12:11:14 +0000 |
commit | 4fdd64799e2b08a2fcb387ab2595c88e383055a4 (patch) | |
tree | b89776c919e65fe651099a44af0dbd92d1389ed3 | |
parent | (We now kick off refreshing remote profiles from the background, so don't alw... (diff) | |
download | synapse-rei/userdirpriv3_queue_to_refresh_initialpop.tar.xz |
Fix the portdb script github/rei/userdirpriv3_queue_to_refresh_initialpop rei/userdirpriv3_queue_to_refresh_initialpop
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 7 |
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__( |