Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix words
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed May 21, 2019
1 parent 0620dd4 commit 44b8ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synapse/handlers/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,9 +601,9 @@ def create_new_client_event(self, builder, requester=None,

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"]
Expand Down

0 comments on commit 44b8ba4

Please sign in to comment.