diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-01-04 11:08:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 11:08:08 -0500 |
commit | 8422a7f7f6154bcbadc52f0d0d27b8e6b989cb4c (patch) | |
tree | 2e598a44bff193fa7158ed668480c4efbf80298a /tests/federation | |
parent | Drop Bionic from Debian builds (#11633) (diff) | |
download | synapse-8422a7f7f6154bcbadc52f0d0d27b8e6b989cb4c.tar.xz |
Include the topic event in the prejoin state, per MSC3173. (#11666)
Invites and knocks will now include the topic in the stripped state send to clients before joining the room.
Diffstat (limited to 'tests/federation')
-rw-r--r-- | tests/federation/transport/test_knocking.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/federation/transport/test_knocking.py b/tests/federation/transport/test_knocking.py index 663960ff53..bfa156eebb 100644 --- a/tests/federation/transport/test_knocking.py +++ b/tests/federation/transport/test_knocking.py @@ -108,6 +108,15 @@ class KnockingStrippedStateEventHelperMixin(TestCase): "state_key": "", }, ), + ( + EventTypes.Topic, + { + "content": { + "topic": "A really cool room", + }, + "state_key": "", + }, + ), ] ) |