diff --git a/synapse/handlers/sliding_sync/extensions.py b/synapse/handlers/sliding_sync/extensions.py index e1c4099c78..2fc203281e 100644 --- a/synapse/handlers/sliding_sync/extensions.py +++ b/synapse/handlers/sliding_sync/extensions.py @@ -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