Update synapse/handlers/sliding_sync/extensions.py

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
reivilibre
2025-09-02 10:30:38 +01:00
committed by GitHub
co-authored by Andrew Morgan
parent 921cd53a69
commit 168b67b43a
+1 -1
View File
@@ -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