summaryrefslogtreecommitdiff
path: root/poezio/core/commands.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-09 23:32:26 +0200
committermathieui <mathieui@mathieui.net>2020-05-10 00:11:23 +0200
commite03fb0b3ce41de208e4b52ee1224a080cfc5c6f5 (patch)
tree0fad35396fe5dfb3087d0659083c5d329ffd2779 /poezio/core/commands.py
parenteda88a59a6b56c70fcbc9e2f5ef705a17d74c381 (diff)
downloadpoezio-e03fb0b3ce41de208e4b52ee1224a080cfc5c6f5.tar.gz
poezio-e03fb0b3ce41de208e4b52ee1224a080cfc5c6f5.tar.bz2
poezio-e03fb0b3ce41de208e4b52ee1224a080cfc5c6f5.tar.xz
poezio-e03fb0b3ce41de208e4b52ee1224a080cfc5c6f5.zip
Fix completion and function names for /accept and /add
Diffstat (limited to 'poezio/core/commands.py')
-rw-r--r--poezio/core/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py
index f5594d5d..60bcc7b0 100644
--- a/poezio/core/commands.py
+++ b/poezio/core/commands.py
@@ -520,7 +520,7 @@ class CommandCore:
@deny_anonymous
@command_args_parser.quoted(0, 1)
- def command_accept(self, args):
+ def accept(self, args):
"""
Accept a JID. Authorize it AND subscribe to it
"""
@@ -557,7 +557,7 @@ class CommandCore:
@deny_anonymous
@command_args_parser.quoted(1)
- def command_add(self, args):
+ def add(self, args):
"""
Add the specified JID to the roster, and automatically
accept the reverse subscription