From d2f5247e770c6717fbb98d34c9d513f950b4304f Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Fri, 16 Aug 2024 00:15:03 -0500 Subject: [PATCH] Update comment --- synapse/storage/databases/main/events.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/synapse/storage/databases/main/events.py b/synapse/storage/databases/main/events.py index fb669a7311..b566332869 100644 --- a/synapse/storage/databases/main/events.py +++ b/synapse/storage/databases/main/events.py @@ -1261,8 +1261,9 @@ class PersistEventsStore: # rejects the invite (leaves the room), we will end up here. # # In these cases, we should inherit the meta data from the previous - # snapshot. When using sliding sync filters, this will prevent the - # room from disappearing/appearing just because you left the room. + # snapshot (handled by the default `ON CONFLICT ... DO UPDATE SET`). + # When using sliding sync filters, this will prevent the room from + # disappearing/appearing just because you left the room. # # Ideally, we could additionally assert that we're only here for # valid non-join membership transitions.