mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 17:47:28 +00:00
fixup! Move the sticky events sliding sync extension to the global pos and MSC4508 scoping
Cosmetic, comments
This commit is contained in:
1 parent
c038373372
commit
945d20e849
1 file changed
+4
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user