Skip to content

Commit

Permalink
Remove mark_token_seen
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Aug 22, 2024
1 parent 3838b18 commit ed7591c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions synapse/handlers/sliding_sync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,6 @@ async def current_sync_for_user(
)
)

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
Expand Down
8 changes: 0 additions & 8 deletions synapse/handlers/sliding_sync/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,3 @@ async def record_new_state(
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

0 comments on commit ed7591c

Please sign in to comment.