core (xmpp): added log message when a an entity without presence subscription is removed from roster

This commit is contained in:
Goffi 2015-05-27 19:12:38 +02:00
commit becb178deb

View file

@ -188,6 +188,7 @@ class SatRosterProtocol(xmppim.RosterClientProtocol):
#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)