summary refs log tree commit diff
path: root/synapse/handlers/_base.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-18 11:02:14 +0000
committerDaniel Wagner-Hall <daniel@matrix.org>2016-02-18 11:02:14 +0000
commitf8d21e1431ce08b267f7b63a0a0772beb2588f25 (patch)
treefee32bfdc6f723fd465c20e4842a19bdaca6e0af /synapse/handlers/_base.py
parentMerge branch 'develop' into daniel/roomcleanupincremental (diff)
downloadsynapse-f8d21e1431ce08b267f7b63a0a0772beb2588f25.tar.xz
Review comments
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r--synapse/handlers/_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py
index 41e153c934..a516a84a66 100644
--- a/synapse/handlers/_base.py
+++ b/synapse/handlers/_base.py
@@ -222,7 +222,8 @@ class BaseHandler(object):
             if event_type == EventTypes.Member
         ]
         if len(room_members) == 0:
-            # has the room been created so we can join it?
+            # Have we just created the room, and is this about to be the very
+            # first member event?
             create_event = current_state.get(("m.room.create", ""))
             if create_event:
                 return True