mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 12:54:55 -04:00
Handle missing content keys when calculating presentable names. (#9165)
Treat the content as untrusted and do not assume it is of the proper form.
This commit is contained in:
parent
a7882f9887
commit
6f7417c3db
4 changed files with 242 additions and 16 deletions
|
@ -29,7 +29,7 @@ class PushRuleEvaluatorTestCase(unittest.TestCase):
|
|||
"type": "m.room.history_visibility",
|
||||
"sender": "@user:test",
|
||||
"state_key": "",
|
||||
"room_id": "@room:test",
|
||||
"room_id": "#room:test",
|
||||
"content": content,
|
||||
},
|
||||
RoomVersions.V1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue