From 2d90deb96a86af6d8365994caa26a1ec1474a065 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 26 Aug 2011 22:04:06 -0700 Subject: The ifrom parameter doesn't need special treatment. --- sleekxmpp/plugins/xep_0066/oob.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sleekxmpp/plugins/xep_0066') 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) -- cgit v1.2.3