From aff699b25bcd5ffb861d21867312e868e9054f4e Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Wed, 28 Oct 2026 15:17:28 +0000 Subject: [PATCH] Remove dead guard --- synapse/storage/databases/main/sticky_events.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/synapse/storage/databases/main/sticky_events.py b/synapse/storage/databases/main/sticky_events.py index 4ed7285fd9..92edfb8607 100644 --- a/synapse/storage/databases/main/sticky_events.py +++ b/synapse/storage/databases/main/sticky_events.py @@ -334,14 +334,6 @@ class StickyEventsWorkerStore(StateGroupWorkerStore, CacheInvalidationWorkerStor list of StickyEventUpdate update rows """ - if not self.hs.config.experimental.msc4354_enabled: - # We need to prevent `_get_updated_sticky_events_txn` - # from running when MSC4354 is turned off, because the query used - # for SQLite is not compatible with Ubuntu 22.04 (as used in our CI olddeps run). - # It's technically out of support. - # See: https://github.com/element-hq/synapse/issues/19428 - return [] - return await self.db_pool.runInteraction( "get_updated_sticky_events", self._get_updated_sticky_events_txn,