mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 23:10:20 +00:00
no need to join room if creator
This commit is contained in:
parent
a2bfb778c8
commit
1ccafb0c5e
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,8 @@ class RegistrationHandler(BaseHandler):
|
|||
},
|
||||
ratelimit=False,
|
||||
)
|
||||
yield self._join_user_to_room(fake_requester, r)
|
||||
else:
|
||||
yield self._join_user_to_room(fake_requester, r)
|
||||
except Exception as e:
|
||||
logger.error("Failed to join new user to %r: %r", r, e)
|
||||
|
||||
|
|
Loading…
Reference in a new issue