summaryrefslogtreecommitdiff
path: root/poezio/tabs/privatetab.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-05-15 22:41:18 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-05-15 22:41:18 +0100
commita3dfd55e049d289ff8086878eadcea4f8e258502 (patch)
tree5abbedcb42aa6967e546f8b8f49d75c1faf575f6 /poezio/tabs/privatetab.py
parentcc4132e0b4ba8ce8ad7ccaac5ed0a45146020563 (diff)
downloadpoezio-a3dfd55e049d289ff8086878eadcea4f8e258502.tar.gz
poezio-a3dfd55e049d289ff8086878eadcea4f8e258502.tar.bz2
poezio-a3dfd55e049d289ff8086878eadcea4f8e258502.tar.xz
poezio-a3dfd55e049d289ff8086878eadcea4f8e258502.zip
Merge /unquery and /close into OneToOneTab.
Diffstat (limited to 'poezio/tabs/privatetab.py')
-rw-r--r--poezio/tabs/privatetab.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index b6c19f1a..9279929a 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -49,10 +49,6 @@ class PrivateTab(OneToOneTab):
self.register_command('info', self.command_info,
desc='Display some information about the user in the MUC: its/his/her role, affiliation, status and status message.',
shortdesc='Info about the user.')
- self.register_command('unquery', self.command_unquery,
- shortdesc='Close the tab.')
- self.register_command('close', self.command_unquery,
- shortdesc='Close the tab.')
self.register_command('version', self.command_version,
desc='Get the software version of the current interlocutor (usually its XMPP client and Operating System).',
shortdesc='Get the software version of a jid.')
@@ -190,13 +186,6 @@ class PrivateTab(OneToOneTab):
self.text_win.refresh()
self.input.refresh()
- @command_args_parser.ignored
- def command_unquery(self):
- """
- /unquery
- """
- self.core.close_tab(self)
-
@command_args_parser.quoted(0, 1)
def command_version(self, args):
"""