summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0092
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0092')
-rw-r--r--sleekxmpp/plugins/xep_0092/version.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0092/version.py b/sleekxmpp/plugins/xep_0092/version.py
index ac0924b8..ba72a9c3 100644
--- a/sleekxmpp/plugins/xep_0092/version.py
+++ b/sleekxmpp/plugins/xep_0092/version.py
@@ -76,8 +76,7 @@ class xep_0092(base_plugin):
"""
iq = self.xmpp.Iq()
iq['to'] = jid
- if ifrom:
- iq['from'] = ifrom
+ iq['from'] = ifrom
iq['type'] = 'get'
iq['query'] = Version.namespace