summaryrefslogtreecommitdiff
path: root/slixmpp/basexmpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/basexmpp.py')
-rw-r--r--slixmpp/basexmpp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py
index 3cc299b2..e5f5f0b1 100644
--- a/slixmpp/basexmpp.py
+++ b/slixmpp/basexmpp.py
@@ -752,6 +752,9 @@ class BaseXMPP(XMLStream):
Update the roster with presence information.
"""
+ if self.roster[presence['from']].ignore_updates:
+ return
+
if not self.is_component and not presence['to'].bare:
presence['to'] = self.boundjid