mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 20:20:15 -04:00
Merge remote-tracking branch 'upstream/release-v1.62'
This commit is contained in:
commit
ba9c553c5e
224 changed files with 5898 additions and 8387 deletions
|
@ -35,6 +35,10 @@ class EventValidator:
|
|||
def validate_new(self, event: EventBase, config: HomeServerConfig) -> None:
|
||||
"""Validates the event has roughly the right format
|
||||
|
||||
Suitable for checking a locally-created event. It has stricter checks than
|
||||
is appropriate for an event received over federation (for which, see
|
||||
event_auth.validate_event_for_room_version)
|
||||
|
||||
Args:
|
||||
event: The event to validate.
|
||||
config: The homeserver's configuration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue