From 1f9a6f588347b5692c60d47966913bb101e479a2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 15 Jan 2012 16:40:49 +0100 Subject: Fixes #2319 --- src/tabs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tabs.py b/src/tabs.py index 8316d2a3..e8a773fe 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -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) -- cgit v1.2.3 From d4ec0ba442a0676a1b2e3f781d8d27853751ca29 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 21 Jan 2012 00:06:18 +0100 Subject: Do not quotify topic completion --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs.py b/src/tabs.py index e8a773fe..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): """ -- cgit v1.2.3