summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-09-29 04:12:14 -0500
committerEric Eastwood <erice@element.io>2022-09-29 04:12:24 -0500
commit8f8c1a08d8b66e33be1e30677602377467599ede (patch)
tree35f484e4b80fe3605817ee5504797b9e3a9a6381 /tests
parentSeems to work with Maria (diff)
downloadsynapse-8f8c1a08d8b66e33be1e30677602377467599ede.tar.xz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_federation_event.py6
1 files changed, 3 insertions, 3 deletions
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,