Clean a new bunch of stuf

This commit is contained in:
Florent Le Coz
2014-07-21 20:27:53 +02:00
parent a2cad40f91
commit 373505f483
13 changed files with 37 additions and 179 deletions
+1 -1
View File
@@ -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()