mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-25 10:20:28 -04:00
MSC2260: Block direct sends of m.room.aliases events (#6794)
as per MSC2260
This commit is contained in:
parent
57ad702af0
commit
184303b865
4 changed files with 28 additions and 33 deletions
|
@ -868,13 +868,6 @@ class RoomTestCase(unittest.HomeserverTestCase):
|
|||
self.assertEqual(200, int(channel.result["code"]), msg=channel.result["body"])
|
||||
|
||||
# Set this new alias as the canonical alias for this room
|
||||
self.helper.send_state(
|
||||
room_id,
|
||||
"m.room.aliases",
|
||||
{"aliases": [test_alias]},
|
||||
tok=self.admin_user_tok,
|
||||
state_key="test",
|
||||
)
|
||||
self.helper.send_state(
|
||||
room_id,
|
||||
"m.room.canonical_alias",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue