1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/relations.py b/synapse/rest/client/relations.py
index e8dfeaa543..42da017f37 100644
--- a/synapse/rest/client/relations.py
+++ b/synapse/rest/client/relations.py
@@ -71,7 +71,7 @@ class RelationPaginationServlet(RestServlet):
self._store, request, default_limit=5, default_dir=Direction.BACKWARDS
)
if self._support_recurse:
- recurse = parse_boolean(
+ recurse = parse_boolean(request, "recurse", default=False) or parse_boolean(
request, "org.matrix.msc3981.recurse", default=False
)
else:
|