summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-08 19:53:39 +0200
committermathieui <mathieui@mathieui.net>2017-10-08 19:53:39 +0200
commit83ced76bb137cc120fb1ec90adb787bb53359d05 (patch)
tree2335c3bf08de12214d0006c4c70e86e4a2eb92f0
parentc2fad0d7dc82e9bffa2edf9ae992b416e20f5906 (diff)
downloadpoezio-83ced76bb137cc120fb1ec90adb787bb53359d05.tar.gz
poezio-83ced76bb137cc120fb1ec90adb787bb53359d05.tar.bz2
poezio-83ced76bb137cc120fb1ec90adb787bb53359d05.tar.xz
poezio-83ced76bb137cc120fb1ec90adb787bb53359d05.zip
Fix #3281 (alias /subject to /topic)
-rw-r--r--poezio/tabs/muctab.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 4ba6d6d0..a89529be 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -120,6 +120,11 @@ class MucTab(ChatTab):
desc='Change the subject of the room.',
shortdesc='Change the subject.',
completion=self.completion_topic)
+ self.register_command('subject', self.command_topic,
+ usage='<subject>',
+ desc='Change the subject of the room.',
+ shortdesc='Change the subject.',
+ completion=self.completion_topic)
self.register_command('query', self.command_query,
usage='<nick> [message]',
desc='Open a private conversation with <nick>. This nick'