diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2018-11-24 04:36:19 +0000 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2018-12-16 16:57:48 +0000 |
commit | 0f6205d29bf9a42939e82914c905aab118be4fc7 (patch) | |
tree | 9ed907636b48cf61fc09ecbbc82badc25d8ed62f /poezio/tabs | |
parent | cf50ef2cf38a0366bcba7e45c254dc03e4fe981f (diff) | |
download | poezio-0f6205d29bf9a42939e82914c905aab118be4fc7.tar.gz poezio-0f6205d29bf9a42939e82914c905aab118be4fc7.tar.bz2 poezio-0f6205d29bf9a42939e82914c905aab118be4fc7.tar.xz poezio-0f6205d29bf9a42939e82914c905aab118be4fc7.zip |
Add /invite for ConversationTab to generate new room with all invitees
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/tabs')
-rw-r--r-- | poezio/tabs/conversationtab.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/poezio/tabs/conversationtab.py b/poezio/tabs/conversationtab.py index 7e7a7488..94f1d719 100644 --- a/poezio/tabs/conversationtab.py +++ b/poezio/tabs/conversationtab.py @@ -79,6 +79,12 @@ class ConversationTab(OneToOneTab): ' allow you to see his presence, and allow them to' ' see your presence.', shortdesc='Add a user to your roster.') + self.register_command( + 'invite', + self.core.command.impromptu, + desc='Invite people into an impromptu room.', + shortdesc='Invite other users to the discussion', + completion=self.core.completion.impromptu) self.update_commands() self.update_keys() |