fixup! Move the sticky events sliding sync extension to the global pos and MSC4508 scoping

Cosmetic, comments
This commit is contained in:
Olivier 'reivilibre committed 2026-10-19 17:28:23 +00:00
1 parent c038373372
commit 945d20e849
1 file changed
+4 -1
+4 -1
View File
@@ -123,9 +123,12 @@ class SlidingSyncExtensionHandler:
"""
if sync_config.extensions is None:
# If no extensions are enabled, shortcut out.
if self._enable_sticky_events:
# The sticky events extension tracks per-room state even while it
# isn't enabled, so that re-enabling it doesn't miss anything.
# isn't enabled on the request, so that re-enabling it doesn't miss anything.
# (But only if the MSC4354 experimental feature is enabled)
await self._record_sticky_events_rooms_out_of_scope(
previous_connection_state=previous_connection_state,
new_connection_state=new_connection_state,