changeset 1431:70abe871eac3

core (xmpp): added log message when a an entity without presence subscription is removed from roster
author Goffi <goffi@goffi.org>
date Wed, 27 May 2015 19:12:38 +0200
parents ba09cd879343
children 60c41422ee48
files src/core/xmpp.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/xmpp.py	Wed May 27 19:08:16 2015 +0200
+++ b/src/core/xmpp.py	Wed May 27 19:12:38 2015 +0200
@@ -188,6 +188,7 @@
                 #XXX: current behaviour: we don't want contact in our roster list
                 # if there is no presence subscription
                 # may change in the future
+                log.info(u"Removing contact {} from roster because there is no presence subscription".format(item.jid))
                 self.removeItem(item.entity) # FIXME: to be checked
             else:
                 self._registerItem(item)