1
0

Fix incompatible type

```
synapse/replication/http/federation.py:72: error: Signature of "_serialize_payload" incompatible with supertype "ReplicationEndpoint"  [override]
```
This commit is contained in:
Eric Eastwood
2021-11-19 01:51:05 -06:00
parent ec82407b49
commit 56ea69fecf

View File

@@ -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: