summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2016-07-15 08:17:34 +1200
committerFlorian Baumann <derflob@derflob.de>2016-07-15 08:17:34 +1200
commit5b24cded52a39bd0d21a3d1203d30eaa665aa270 (patch)
tree12a2b8104f2cadda28a53cb8d9dc00a337f23687
parent25fbff835d4c23740e4057b169dba65e27a79678 (diff)
downloadxmpp-5b24cded52a39bd0d21a3d1203d30eaa665aa270.tar.gz
xmpp-5b24cded52a39bd0d21a3d1203d30eaa665aa270.tar.bz2
fix wrong function parameters
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index b7ae1d0..af86c05 100644
--- a/__init__.py
+++ b/__init__.py
@@ -55,7 +55,7 @@ class OctoXMPP(EventHandlerPlugin, SettingsPlugin):
i = self._xmpp['xep_0363'].start_upload(
'rupert.jpg', io.BytesIO(req.content), len(req.content), req.headers.get('content-type', None))
- def __send_get_url(chat_type, recipient):
+ def __send_get_url(get_url):
for (chat_type, recipient) in self._settings.get(['xmpp', 'recipients']):
m = self._xmpp.make_message(mto=recipient, mbody=get_url, mtype=chat_type)
m['oob']['url'] = get_url