mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 02:55:25 -04:00
Merge remote-tracking branch 'upstream/release-v1.47'
This commit is contained in:
commit
d61a2339b1
167 changed files with 3999 additions and 1283 deletions
|
@ -55,7 +55,7 @@ class EventValidator:
|
|||
]
|
||||
|
||||
for k in required:
|
||||
if not hasattr(event, k):
|
||||
if k not in event:
|
||||
raise SynapseError(400, "Event does not have key %s" % (k,))
|
||||
|
||||
# Check that the following keys have string values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue