summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0115/caps.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0115/caps.py')
-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()