diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-21 16:51:45 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-05-21 16:51:45 +0100 |
commit | 44b8ba484e67c0f13ca566ef6776b95504bced12 (patch) | |
tree | b2f4963f21c7786646f1627bad0a4915252ed9bc /synapse | |
parent | Newsfile (diff) | |
download | synapse-44b8ba484e67c0f13ca566ef6776b95504bced12.tar.xz |
Fix words
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/message.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 0c892c8dba..792edc7579 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -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"] |