summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0202
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0202')
-rw-r--r--sleekxmpp/plugins/xep_0202/time.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0202/time.py b/sleekxmpp/plugins/xep_0202/time.py
index bcad8bc8..2c6faa4b 100644
--- a/sleekxmpp/plugins/xep_0202/time.py
+++ b/sleekxmpp/plugins/xep_0202/time.py
@@ -85,8 +85,7 @@ class xep_0202(base_plugin):
"""
iq = self.xmpp.Iq()
iq['type'] = 'get'
- iq['to'] = 'to'
- if ifrom:
- iq['from'] = 'ifrom'
+ iq['to'] = to
+ iq['from'] = ifrom
iq.enable('entity_time')
return iq.send(**iqargs)