diff options
Diffstat (limited to 'sleekxmpp/plugins/xep_0199/ping.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0199/ping.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0199/ping.py b/sleekxmpp/plugins/xep_0199/ping.py index b0304b09..1baf6f4d 100644 --- a/sleekxmpp/plugins/xep_0199/ping.py +++ b/sleekxmpp/plugins/xep_0199/ping.py @@ -143,8 +143,7 @@ class xep_0199(base_plugin): iq = self.xmpp.Iq() iq['type'] = 'get' iq['to'] = jid - if ifrom: - iq['from'] = ifrom + iq['from'] = ifrom iq.enable('ping') start_time = time.clock() |