summary refs log tree commit diff
path: root/synapse/res
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-28 17:00:14 +0000
committerErik Johnston <erik@matrix.org>2019-01-28 17:00:14 +0000
commitb872c7b1b43431b8933e2afd2f226aa34ad81a0f (patch)
tree43aaa8ab45163e9ca104436d7df82ed926702bf6 /synapse/res
parentFix UPSERTs on SQLite 3.24+ (#4477) (diff)
downloadsynapse-b872c7b1b43431b8933e2afd2f226aa34ad81a0f.tar.xz
Split up event validation between event and builder
The validator was being run on the EventBuilder objects, and so the
validator only checked a subset of fields. With the upcoming
EventBuilder refactor even fewer fields will be there to validate.

To get around this we split the validation into those that can be run
against an EventBuilder and those run against a fully fledged event.
Diffstat (limited to 'synapse/res')
0 files changed, 0 insertions, 0 deletions