diff options
author | Eric Eastwood <erice@element.io> | 2022-09-29 02:19:18 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-09-29 02:25:42 -0500 |
commit | 5faebbdfcfe4af14bc41092d2ea9f7a2d2075367 (patch) | |
tree | 8cbfaab538f30576bb4daad6270afdaf168ca195 /synapse | |
parent | Working once you connect the floating insertion event (diff) | |
download | synapse-5faebbdfcfe4af14bc41092d2ea9f7a2d2075367.tar.xz |
Seems to work with Maria
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/federation_event.py | 6 | ||||
-rw-r--r-- | synapse/handlers/message.py | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py index 83a438bc7e..c864991bd1 100644 --- a/synapse/handlers/federation_event.py +++ b/synapse/handlers/federation_event.py @@ -660,7 +660,7 @@ class FederationEventHandler: # thrashing. reverse_chronological_events = events # `[::-1]` is just syntax to reverse the list and give us a copy - # chronological_events = reverse_chronological_events[::-1] + chronological_events = reverse_chronological_events[::-1] logger.info( "backfill assumed reverse_chronological_events=%s", @@ -716,8 +716,8 @@ class FederationEventHandler: # Expecting to persist in chronological order here (oldest -> # newest) so that events are persisted before they're referenced # as a `prev_event`. - # chronological_events, - #reverse_chronological_events, + chronological_events, + # reverse_chronological_events, backfilled=True, ) diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index f2d0c425e6..d53f8dc28d 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -1106,6 +1106,13 @@ class EventCreationHandler: depth=depth, ) + logger.info( + "create_new_client_event(event=%s) state_event_ids=%s resultant auth_event_ids=%s", + event.event_id, + state_event_ids, + auth_event_ids, + ) + # Pass on the outlier property from the builder to the event # after it is created if builder.internal_metadata.outlier: |