From fdb8b5931feea2bf8436361f25d24b4869c884e9 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 22 Aug 2024 18:43:51 -0500 Subject: [PATCH] Correct comment --- synapse/storage/databases/main/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/databases/main/events.py b/synapse/storage/databases/main/events.py index 06ae00f0bc..e1a454b07e 100644 --- a/synapse/storage/databases/main/events.py +++ b/synapse/storage/databases/main/events.py @@ -623,7 +623,7 @@ class PersistEventsStore: ) assert most_recent_event_pos_results, ( f"We should not be seeing `None` here because we are still in the room ({room_id}) and " - + "it should at-least have a create event." + + "it should at-least have a join membership event that's keeping us here." ) best_effort_most_recent_stream_ordering = most_recent_event_pos_results[ 1