summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-01-15 16:40:49 +0100
committermathieui <mathieui@mathieui.net>2012-01-15 16:40:49 +0100
commit1f9a6f588347b5692c60d47966913bb101e479a2 (patch)
treea96fbc07bff4b7c7ff0537d5497388af556fbea0 /src/tabs.py
parent92d96f3f36cebd0ffb39e703c08af369e70b78fc (diff)
downloadpoezio-1f9a6f588347b5692c60d47966913bb101e479a2.tar.gz
poezio-1f9a6f588347b5692c60d47966913bb101e479a2.tar.bz2
poezio-1f9a6f588347b5692c60d47966913bb101e479a2.tar.xz
poezio-1f9a6f588347b5692c60d47966913bb101e479a2.zip
Fixes #2319
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py4
1 files changed, 4 insertions, 0 deletions
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)