mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-09 18:15:50 +00:00
Update synapse/handlers/sliding_sync/extensions.py
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
co-authored by
Andrew Morgan
parent
921cd53a69
commit
168b67b43a
@@ -918,7 +918,7 @@ class SlidingSyncExtensionHandler:
|
||||
from_token: The point in the stream to sync from.
|
||||
|
||||
Returns:
|
||||
the response (or None if empty)
|
||||
the response (None if empty or thread subscriptions are disabled)
|
||||
"""
|
||||
if not thread_subscriptions_request.enabled:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user