summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index 02f7776a..1c7937ce 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -223,12 +223,12 @@ class ClientXMPP(BaseXMPP):
iq['roster']['ver'] = self.client_roster.version
if not block and callback is None:
- callback = lambda resp: self._handle_roster(resp, request=True)
+ callback = lambda resp: self._handle_roster(resp)
response = iq.send(block, timeout, callback)
+ self.event('roster_received', response)
if block:
- self.event('roster_received', response)
self._handle_roster(response)
return response