From 8f8c1a08d8b66e33be1e30677602377467599ede Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 29 Sep 2022 04:12:14 -0500 Subject: WIP: Connect state_chain to prev_event and the batch to the state_chain so everyhting is valid We are going to lose the benefit of keeping the join noise out of the timeline. And will probably have to hide "historical" state on the client. --- tests/handlers/test_federation_event.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/handlers/test_federation_event.py b/tests/handlers/test_federation_event.py index a0e3fcbe7d..eaa0c66553 100644 --- a/tests/handlers/test_federation_event.py +++ b/tests/handlers/test_federation_event.py @@ -1041,9 +1041,9 @@ class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase): # It all works when I add a prev_event for the floating # insertion event but the event no longer floats. # It's able to resolve state at the prev_events though. - # prev_event_ids=[event_before.event_id], - allow_no_prev_events=True, - prev_event_ids=[], + prev_event_ids=[event_before.event_id], + # allow_no_prev_events=True, + # prev_event_ids=[], auth_event_ids=historical_base_auth_event_ids, state_event_ids=historical_state_event_ids, depth=inherited_depth, -- cgit 1.5.1