diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2016-02-18 11:02:14 +0000 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2016-02-18 11:02:14 +0000 |
commit | f8d21e1431ce08b267f7b63a0a0772beb2588f25 (patch) | |
tree | fee32bfdc6f723fd465c20e4842a19bdaca6e0af /synapse/handlers/_base.py | |
parent | Merge branch 'develop' into daniel/roomcleanupincremental (diff) | |
download | synapse-f8d21e1431ce08b267f7b63a0a0772beb2588f25.tar.xz |
Review comments
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 3 |
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 |