summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0115/caps.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-02 17:05:35 -0800
committerLance Stout <lancestout@gmail.com>2013-01-02 17:05:35 -0800
commitef76f923ad885d8faa67e88d76704cbe8253b153 (patch)
tree4fc443614e3551daad8ea174b515ca5037497c8c /sleekxmpp/plugins/xep_0115/caps.py
parent0e2abe74d5d978ee701576d6e00eb35919dffb70 (diff)
parent2c04ae084ca2233f45776b32614b1e575db93449 (diff)
downloadslixmpp-ef76f923ad885d8faa67e88d76704cbe8253b153.tar.gz
slixmpp-ef76f923ad885d8faa67e88d76704cbe8253b153.tar.bz2
slixmpp-ef76f923ad885d8faa67e88d76704cbe8253b153.tar.xz
slixmpp-ef76f923ad885d8faa67e88d76704cbe8253b153.zip
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/plugins/xep_0115/caps.py')
-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