mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 10:50:21 +00:00
Fix portdb
This commit is contained in:
parent
b72b698701
commit
5a4355de58
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,7 @@ from synapse.logging.context import (
|
|||
make_deferred_yieldable,
|
||||
run_in_background,
|
||||
)
|
||||
from synapse.notifier import ReplicationNotifier
|
||||
from synapse.storage.database import DatabasePool, LoggingTransaction, make_conn
|
||||
from synapse.storage.databases.main import PushRuleStore
|
||||
from synapse.storage.databases.main.account_data import AccountDataWorkerStore
|
||||
|
@ -260,6 +261,9 @@ class MockHomeserver:
|
|||
def should_send_federation(self) -> bool:
|
||||
return False
|
||||
|
||||
def get_replication_notifier(self) -> ReplicationNotifier:
|
||||
return ReplicationNotifier()
|
||||
|
||||
|
||||
class Porter:
|
||||
def __init__(
|
||||
|
|
Loading…
Reference in a new issue