mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 15:30:10 -04:00
Disable relation validation
This commit is contained in:
parent
bbf4fc8146
commit
c143798c36
1 changed files with 2 additions and 0 deletions
|
@ -1193,6 +1193,8 @@ class EventCreationHandler:
|
||||||
Raises:
|
Raises:
|
||||||
SynapseError if the event is invalid.
|
SynapseError if the event is invalid.
|
||||||
"""
|
"""
|
||||||
|
if event.sender in self.config.meow.validation_override:
|
||||||
|
return
|
||||||
|
|
||||||
relation = relation_from_event(event)
|
relation = relation_from_event(event)
|
||||||
if not relation:
|
if not relation:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue