summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-01 10:05:27 +0000
committerErik Johnston <erik@matrix.org>2018-03-01 10:05:27 +0000
commitf756f961eab7ae6e53052ee419413c74d171d144 (patch)
treef4b3cbb0abd1de6a273c80c5feaf17fcdbe7a514 /synapse/handlers
parentCalculate push actions on worker (diff)
downloadsynapse-f756f961eab7ae6e53052ee419413c74d171d144.tar.xz
Fixup comments
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/message.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 4c186965a7..c4151d73eb 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -574,8 +574,6 @@ class EventCreationHandler(object):
         )
 
         try:
-            # We now need to go and hit out to wherever we need to hit out to.
-
             # If we're a worker we need to hit out to the master.
             if self.config.worker_app:
                 yield send_event_to_master(
@@ -610,8 +608,10 @@ class EventCreationHandler(object):
         ratelimit=True,
         extra_users=[],
     ):
-        """Called when we have fully built and authed the event. This should
-        only be run on master.
+        """Called when we have fully built the event, and have already
+        calculated the push actions for the event.
+
+        This should only be run on master.
         """
         assert not self.config.worker_app