summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0115
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-21 20:27:53 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-21 20:32:09 +0200
commit373505f48351a310f7d7ddf0da92fd604682daf1 (patch)
treef9e8acc71e984efde700d65944345f9c7c29bda1 /slixmpp/plugins/xep_0115
parenta2cad40f9163f7f14a5607853ff42f458844462e (diff)
downloadslixmpp-373505f48351a310f7d7ddf0da92fd604682daf1.tar.gz
slixmpp-373505f48351a310f7d7ddf0da92fd604682daf1.tar.bz2
slixmpp-373505f48351a310f7d7ddf0da92fd604682daf1.tar.xz
slixmpp-373505f48351a310f7d7ddf0da92fd604682daf1.zip
Clean a new bunch of stuf
Diffstat (limited to 'slixmpp/plugins/xep_0115')
-rw-r--r--slixmpp/plugins/xep_0115/caps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0115/caps.py b/slixmpp/plugins/xep_0115/caps.py
index 378c6ae0..c548de11 100644
--- a/slixmpp/plugins/xep_0115/caps.py
+++ b/slixmpp/plugins/xep_0115/caps.py
@@ -305,7 +305,7 @@ class XEP_0115(BasePlugin):
self.cache_caps(ver, info)
self.assign_verstring(jid, ver)
- if self.xmpp.session_started_event.is_set() and self.broadcast:
+ if self.xmpp.sessionstarted and self.broadcast:
if self.xmpp.is_component or preserve:
for contact in self.xmpp.roster[jid]:
self.xmpp.roster[jid][contact].send_last_presence()