From 70fdb899798a6f18ac1b39d425cbe3637fa87038 Mon Sep 17 00:00:00 2001 From: Jackson Date: Thu, 12 Oct 2023 14:13:45 +0200 Subject: [PATCH] crap: some comment and TODOs --- synadm/api.py | 1 + synadm/cli/user.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/synadm/api.py b/synadm/api.py index 5b3b9bed..842fc188 100644 --- a/synadm/api.py +++ b/synadm/api.py @@ -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}) diff --git a/synadm/cli/user.py b/synadm/cli/user.py index 9a46ca51..66808720 100644 --- a/synadm/cli/user.py +++ b/synadm/cli/user.py @@ -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)