summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0115
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-02 17:04:27 -0800
committerLance Stout <lancestout@gmail.com>2013-01-02 17:04:27 -0800
commit91dc58d9676323287d8bb7a40adeb6bd225e6bf6 (patch)
treee697271a06a2acf9cdd243a5852acbfd18c1ee82 /sleekxmpp/plugins/xep_0115
parent597eb1779c497ad850fe3c03fd480fea5c9ef7ea (diff)
downloadslixmpp-91dc58d9676323287d8bb7a40adeb6bd225e6bf6.tar.gz
slixmpp-91dc58d9676323287d8bb7a40adeb6bd225e6bf6.tar.bz2
slixmpp-91dc58d9676323287d8bb7a40adeb6bd225e6bf6.tar.xz
slixmpp-91dc58d9676323287d8bb7a40adeb6bd225e6bf6.zip
Fix startup issues with components using caps and vcards.
Diffstat (limited to 'sleekxmpp/plugins/xep_0115')
-rw-r--r--sleekxmpp/plugins/xep_0115/caps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0115/caps.py b/sleekxmpp/plugins/xep_0115/caps.py
index b7a346c0..8bad1410 100644
--- a/sleekxmpp/plugins/xep_0115/caps.py
+++ b/sleekxmpp/plugins/xep_0115/caps.py
@@ -290,7 +290,7 @@ class XEP_0115(BasePlugin):
# can just send a normal presence stanza. If we have, then
# we will send presence to each contact individually so
# that we don't clobber existing statuses.
- directed = False
+ directed = False or self.xmpp.is_component
for contact in self.xmpp.roster[jid]:
if self.xmpp.roster[jid][contact].last_status is not None:
directed = True