diff options
Diffstat (limited to 'sleekxmpp/plugins/xep_0066/oob.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0066/oob.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0066/oob.py b/sleekxmpp/plugins/xep_0066/oob.py index 98cb81cd..d1f4b3ff 100644 --- a/sleekxmpp/plugins/xep_0066/oob.py +++ b/sleekxmpp/plugins/xep_0066/oob.py @@ -108,8 +108,7 @@ class xep_0066(base_plugin): iq = self.xmpp.Iq() iq['type'] = 'set' iq['to'] = to - if ifrom: - iq['from'] = ifrom + iq['from'] = ifrom iq['oob_transfer']['url'] = url iq['oob_transfer']['desc'] = desc return iq.send(**iqargs) |