Skip to content

Commit

Permalink
crap: some comment and TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonChen666 committed Oct 12, 2023
1 parent 9aa5fbe commit 70fdb89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions synadm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ def user_modify(self, user_id, password, display_name, threepid,
Threepid should be passed as a tuple in a tuple
"""
# TODO: deprecate
data = {}
if password:
data.update({"password": password})
Expand Down
5 changes: 5 additions & 0 deletions synadm/cli/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,11 @@ def modify(ctx, helper, user_id, password, password_prompt, display_name,
click.echo("Abort.")


# for these placeholders, function similarly to the modify command, but in
# it's own command.
# TODO: find 3pid modify command


@user.command()
@click.argument("user_id", type=str)
@click.argument("user_type", type=str)
Expand Down

0 comments on commit 70fdb89

Please sign in to comment.