Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix-up broken tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Aug 15, 2023
1 parent c4ece94 commit 61b9fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ async def bump_presence_active_time(
prev_state = await self.current_state_for_user(user_id)
new_fields: Dict[str, Any] = {
"last_active_ts": now,
"presence": _combine_device_states(devices.values()),
"state": _combine_device_states(devices.values()),
}

await self._update_states([prev_state.copy_and_replace(**new_fields)])
Expand Down

0 comments on commit 61b9fba

Please sign in to comment.