From ed7591cbefccbb3d09cdae1dab28a8547ba65870 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 22 Aug 2024 13:46:07 +0100 Subject: [PATCH] Remove mark_token_seen --- synapse/handlers/sliding_sync/__init__.py | 5 ----- synapse/handlers/sliding_sync/store.py | 8 -------- 2 files changed, 13 deletions(-) diff --git a/synapse/handlers/sliding_sync/__init__.py b/synapse/handlers/sliding_sync/__init__.py index 683281a8a2..17a2f511bd 100644 --- a/synapse/handlers/sliding_sync/__init__.py +++ b/synapse/handlers/sliding_sync/__init__.py @@ -333,11 +333,6 @@ class SlidingSyncHandler: ) ) - await self.connection_store.mark_token_seen( - sync_config=sync_config, - from_token=from_token, - ) - # Get all of the room IDs that the user should be able to see in the sync # response has_lists = sync_config.lists is not None and len(sync_config.lists) > 0 diff --git a/synapse/handlers/sliding_sync/store.py b/synapse/handlers/sliding_sync/store.py index 21511ae5b8..5cd2564515 100644 --- a/synapse/handlers/sliding_sync/store.py +++ b/synapse/handlers/sliding_sync/store.py @@ -121,11 +121,3 @@ class SlidingSyncConnectionStore: from_token.connection_position if from_token else None, new_connection_state, ) - - @trace - async def mark_token_seen( - self, - sync_config: SlidingSyncConfig, - from_token: Optional[SlidingSyncStreamToken], - ) -> None: - pass