mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 11:29:22 -05:00
Fix spelling.
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
02735e140f
commit
76a58fdcce
@ -1 +1 @@
|
||||
Don't allow clients to send tombstone events that reference the room its sent in.
|
||||
Don't allow clients to send tombstone events that reference the room it's sent in.
|
||||
|
@ -111,7 +111,9 @@ class EventValidator(object):
|
||||
raise SynapseError(400, "Content has no replacement_room key")
|
||||
|
||||
if event.content["replacement_room"] == event.room_id:
|
||||
raise SynapseError(400, "Tombstone cannot reference itself")
|
||||
raise SynapseError(
|
||||
400, "Tombstone cannot reference the room it was sent in"
|
||||
)
|
||||
|
||||
def _ensure_strings(self, d, keys):
|
||||
for s in keys:
|
||||
|
Loading…
Reference in New Issue
Block a user