core (xmpp): added log message when a an entity without presence subscription is removed from roster
This commit is contained in:
parent
2602e4efbb
commit
becb178deb
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue