summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 8f25d551..a0976c3c 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -1770,14 +1770,15 @@ class Core:
completion=self.completion.bookmark)
self.register_command(
'accept',
- self.command.command_accept,
+ self.command.accept,
usage='[jid]',
desc='Allow the provided JID (or the selected contact '
'in your roster), to see your presence.',
- shortdesc='Allow a user your presence.',)
+ shortdesc='Allow a user your presence.',
+ completion=self.completion.roster_barejids)
self.register_command(
'add',
- self.command.command_add,
+ self.command.add,
usage='<jid>',
desc='Add the specified JID to your roster, ask them to'
' allow you to see his presence, and allow them to'