Fixes #2319
This commit is contained in:
parent
88f7e690bd
commit
2240916efe
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue