mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix words
This commit is contained in:
parent
0620dd49db
commit
44b8ba484e
@ -601,9 +601,9 @@ class EventCreationHandler(object):
|
||||
|
||||
self.validator.validate_new(event)
|
||||
|
||||
# We now check that if this event is an annotation that the can't
|
||||
# annotate the same way twice (e.g. stops users from liking an event
|
||||
# multiple times).
|
||||
# If this event is an annotation then we check that that the sender
|
||||
# can't annotate the same way twice (e.g. stops users from liking an
|
||||
# event multiple times).
|
||||
relation = event.content.get("m.relates_to", {})
|
||||
if relation.get("rel_type") == RelationTypes.ANNOTATION:
|
||||
relates_to = relation["event_id"]
|
||||
|
Loading…
Reference in New Issue
Block a user