summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2018-11-24 04:36:19 +0000
committerMaxime “pep” Buquet <pep@bouah.net>2018-12-16 16:57:48 +0000
commit0f6205d29bf9a42939e82914c905aab118be4fc7 (patch)
tree9ed907636b48cf61fc09ecbbc82badc25d8ed62f /poezio/tabs
parentcf50ef2cf38a0366bcba7e45c254dc03e4fe981f (diff)
downloadpoezio-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.py6
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()