mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:26:06 -04:00
Fix v2 sync, update the last_notified_ms only if there was an active listener
This commit is contained in:
parent
5e0c533672
commit
3edd2d5c93
2 changed files with 7 additions and 6 deletions
|
@ -92,7 +92,7 @@ class SyncHandler(BaseHandler):
|
|||
result = yield self.current_sync_for_user(sync_config, since_token)
|
||||
defer.returnValue(result)
|
||||
else:
|
||||
def current_sync_callback():
|
||||
def current_sync_callback(before_token, after_token):
|
||||
return self.current_sync_for_user(sync_config, since_token)
|
||||
|
||||
rm_handler = self.hs.get_handlers().room_member_handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue