diff options
author | Eric Eastwood <erice@element.io> | 2021-11-19 01:51:05 -0600 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2021-11-19 01:51:05 -0600 |
commit | 56ea69fecfa4f3d5e079da865ef6a91fc581c52e (patch) | |
tree | cc29083058fd6f30b2b6e43d5794086c4b97d95c | |
parent | Add changelog (diff) | |
download | synapse-56ea69fecfa4f3d5e079da865ef6a91fc581c52e.tar.xz |
Fix incompatible type
``` synapse/replication/http/federation.py:72: error: Signature of "_serialize_payload" incompatible with supertype "ReplicationEndpoint" [override] ```
-rw-r--r-- | synapse/replication/http/federation.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/synapse/replication/http/federation.py b/synapse/replication/http/federation.py index 68c6a470f7..ff5f919161 100644 --- a/synapse/replication/http/federation.py +++ b/synapse/replication/http/federation.py @@ -73,12 +73,11 @@ class ReplicationFederationSendEventsRestServlet(ReplicationEndpoint): store, room_id, event_and_contexts, - *, - inhibit_push_notifications: bool = False, - should_calculate_state_and_forward_extrems: bool = True, - use_negative_stream_ordering: bool = False, - inhibit_local_membership_updates: bool = False, - update_room_forward_stream_ordering: bool = True, + inhibit_push_notifications, + should_calculate_state_and_forward_extrems, + use_negative_stream_ordering, + inhibit_local_membership_updates, + update_room_forward_stream_ordering, ): """ Args: |