Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1d770c5

Browse files
committed
Allow non-member state sent in room batch to resolve for historic events
Part of #12110 Complement test: matrix-org/complement#354 Previously, they didn't resolve because async `filter_events_for_client` removes all outlier state except for out-of-band membership.
1 parent e0bb268 commit 1d770c5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

synapse/handlers/room_batch.py

-6
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,6 @@ async def persist_state_events_at_start(
213213
room_id=room_id,
214214
action=membership,
215215
content=event_dict["content"],
216-
# Mark as an outlier to disconnect it from the normal DAG
217-
# and not show up between batches of history.
218-
outlier=True,
219216
historical=True,
220217
# Only the first event in the state chain should be floating.
221218
# The rest should hang off each other in a chain.
@@ -246,9 +243,6 @@ async def persist_state_events_at_start(
246243
state_event["sender"], app_service_requester.app_service
247244
),
248245
event_dict,
249-
# Mark as an outlier to disconnect it from the normal DAG
250-
# and not show up between batches of history.
251-
outlier=True,
252246
historical=True,
253247
# Only the first event in the state chain should be floating.
254248
# The rest should hang off each other in a chain.

0 commit comments

Comments
 (0)