Move the (unstable) dir parameter for /relations behind an experimental flag. (#12984)

MSC3715 defines this parameter, but the unstable version of it should be
behind an experimental flag.
This commit is contained in:
Patrick Cloke 2022-06-08 09:00:35 -04:00 committed by GitHub
parent 3c8f1290b8
commit dd2d66b0c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View file

@ -728,6 +728,7 @@ class RelationsTestCase(BaseRelationsTestCase):
class RelationPaginationTestCase(BaseRelationsTestCase):
@unittest.override_config({"experimental_features": {"msc3715_enabled": True}})
def test_basic_paginate_relations(self) -> None:
"""Tests that calling pagination API correctly the latest relations."""
channel = self._send_relation(RelationTypes.ANNOTATION, "m.reaction", "a")