The ifrom parameter doesn't need special treatment.

This commit is contained in:
Lance Stout
2011-08-26 22:04:06 -07:00
parent 3fb3f63e51
commit 2d90deb96a
6 changed files with 37 additions and 47 deletions

View File

@@ -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)