diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-11-02 10:39:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 10:39:02 +0000 |
commit | c9c3aea9b189cb606d7ec2905dad2c87acc039ef (patch) | |
tree | 1a0a4482d68fc83f36dfce35f5445120bdab32ce /synapse/storage/databases/main/presence.py | |
parent | Add search by room ID and room alias to List Room admin API (#11099) (diff) | |
download | synapse-c9c3aea9b189cb606d7ec2905dad2c87acc039ef.tar.xz |
Fix providing a `RoomStreamToken` instance to `_notify_app_services_ephemeral` (#11137)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Diffstat (limited to 'synapse/storage/databases/main/presence.py')
-rw-r--r-- | synapse/storage/databases/main/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/presence.py b/synapse/storage/databases/main/presence.py index 12cf6995eb..cc0eebdb46 100644 --- a/synapse/storage/databases/main/presence.py +++ b/synapse/storage/databases/main/presence.py @@ -92,7 +92,7 @@ class PresenceStore(PresenceBackgroundUpdateStore): prefilled_cache=presence_cache_prefill, ) - async def update_presence(self, presence_states): + async def update_presence(self, presence_states) -> Tuple[int, int]: assert self._can_persist_presence stream_ordering_manager = self._presence_id_gen.get_next_mult( |