summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-01-24 14:49:58 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-24 14:49:58 +0100
commitc1dd012b7a92ae08a648814e46761802c5a92598 (patch)
treef4c02579aed8df6727bff92f0175b6a80b2ba78d
parent7425231f47536b2f70a87eefb36a39a8b25cd37f (diff)
parentd4ec0ba442a0676a1b2e3f781d8d27853751ca29 (diff)
downloadpoezio-c1dd012b7a92ae08a648814e46761802c5a92598.tar.gz
poezio-c1dd012b7a92ae08a648814e46761802c5a92598.tar.bz2
poezio-c1dd012b7a92ae08a648814e46761802c5a92598.tar.xz
poezio-c1dd012b7a92ae08a648814e46761802c5a92598.zip
Merge branch 'master' of http://git.louiz.org/poezio
-rw-r--r--src/tabs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 8316d2a3..188b6389 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -814,7 +814,7 @@ class MucTab(ChatTab):
def completion_topic(self, the_input):
current_topic = self.topic
- return the_input.auto_completion([current_topic], '')
+ return the_input.auto_completion([current_topic], '', quotify=False)
def command_kick(self, arg):
"""
@@ -1419,6 +1419,8 @@ class PrivateTab(ChatTab):
res.get('version') or _('unknown'),
res.get('os') or _('on an unknown platform'))
self.core.information(version, 'Info')
+ if arg:
+ return self.core.command_version(arg)
jid = self.name
self.core.xmpp.plugin['xep_0092'].get_version(jid, callback=callback)
@@ -2172,6 +2174,8 @@ class ConversationTab(ChatTab):
res.get('version') or _('unknown'),
res.get('os') or _('on an unknown platform'))
self.core.information(version, 'Info')
+ if arg:
+ return self.core.command_version(arg)
jid = self._name
self.core.xmpp.plugin['xep_0092'].get_version(jid, callback=callback)