diff options
author | Mo Balaa <thebalaa@users.noreply.github.com> | 2024-01-22 04:46:30 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 10:46:30 +0000 |
commit | b99f6db0396629187b7c7e0e869e8ecc082154a5 (patch) | |
tree | 5dbd55692d832ef39c85d7267f79d259b8218193 /tests/rest/client/utils.py | |
parent | Bump actions/cache from 3 to 4 (#16832) (diff) | |
download | synapse-b99f6db0396629187b7c7e0e869e8ecc082154a5.tar.xz |
Handle wildcard type filters properly (#14984)
Diffstat (limited to 'tests/rest/client/utils.py')
-rw-r--r-- | tests/rest/client/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rest/client/utils.py b/tests/rest/client/utils.py index 7bcbed246b..3bf3663e3a 100644 --- a/tests/rest/client/utils.py +++ b/tests/rest/client/utils.py @@ -364,6 +364,7 @@ class RestHelper: tok: Optional[str] = None, expect_code: int = HTTPStatus.OK, custom_headers: Optional[Iterable[Tuple[AnyStr, AnyStr]]] = None, + type: str = "m.room.message", ) -> JsonDict: if body is None: body = "body_text_here" @@ -372,7 +373,7 @@ class RestHelper: return self.send_event( room_id, - "m.room.message", + type, content, txn_id, tok, |