mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Review comments
This commit is contained in:
parent
7e90fb6a57
commit
f8d21e1431
3 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue