diff options
author | David Robertson <davidr@element.io> | 2023-02-22 11:07:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 11:07:28 +0000 |
commit | 647ff3ef65e7a54b2719755802b4e6f2f45f5eb6 (patch) | |
tree | d571c0e3d4ee542e2814ea44b00a936b7fff62a8 /tests/test_federation.py | |
parent | Tweak changelog (diff) | |
download | synapse-647ff3ef65e7a54b2719755802b4e6f2f45f5eb6.tar.xz |
Remove unused `room_alias` field from `/createRoom` response (#15093)
* Change `create_room` return type * Don't return room alias from /createRoom * Update other callsites * Fix up mypy complaints It looks like new_room_user_id is None iff new_room_id is None. It's a shame we haven't expressed this in a way that mypy can understand. * Changelog
Diffstat (limited to 'tests/test_federation.py')
-rw-r--r-- | tests/test_federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_federation.py b/tests/test_federation.py index 82dfd88b99..46d2f99eac 100644 --- a/tests/test_federation.py +++ b/tests/test_federation.py @@ -47,7 +47,7 @@ class MessageAcceptTests(unittest.HomeserverTestCase): room_creator.create_room( our_user, room_creator._presets_dict["public_chat"], ratelimit=False ) - )[0]["room_id"] + )[0] self.store = self.hs.get_datastores().main |