Skip to content

Commit

Permalink
hint that when synadm room join fails you can use synadm room make-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
symphorien committed Dec 1, 2024
1 parent ee412b3 commit aa26bcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions synadm/cli/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def room():
@click.pass_obj
def join(helper, room_id_or_alias, user_id):
""" Join a room.
The administrator must belong to the room and have sufficient privilege to
invite the user. If this is not the case, you can use the make-admin
command.
"""
mxid = helper.generate_mxid(user_id)
out = helper.api.room_join(room_id_or_alias, mxid)
Expand Down

0 comments on commit aa26bcd

Please sign in to comment.