summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2021-11-19 01:51:05 -0600
committerEric Eastwood <erice@element.io>2021-11-19 01:51:05 -0600
commit56ea69fecfa4f3d5e079da865ef6a91fc581c52e (patch)
treecc29083058fd6f30b2b6e43d5794086c4b97d95c
parentAdd changelog (diff)
downloadsynapse-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.py11
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: