From 2240916efecb86f35301dfc83b96444f8a638476 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 15 Jan 2012 16:40:49 +0100 Subject: [PATCH] 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)