core, plugins: improve a bit some log messages
This commit is contained in:
parent
bf353880b4
commit
fe06c14303
1 changed files with 11 additions and 8 deletions
|
|
@ -237,11 +237,14 @@ class SatRosterProtocol(xmppim.RosterClientProtocol):
|
|||
# may change in the future
|
||||
self.removeItem(item.jid)
|
||||
return
|
||||
log.info(_("new contact in roster list: %s") % item.jid.full())
|
||||
log.debug(_("New contact in roster list: %s") % item.jid.full())
|
||||
if not item.subscriptionTo:
|
||||
log.warning(_("You are not subscribed to this contact !"))
|
||||
if not item.subscriptionFrom:
|
||||
log.info(_("There's no subscription between you and [%s]!") % item.jid.full())
|
||||
else:
|
||||
log.info(_("You are not subscribed to [%s]!") % item.jid.full())
|
||||
if not item.subscriptionFrom:
|
||||
log.warning(_("This contact is not subscribed to you !"))
|
||||
log.info(_("[%s] is not subscribed to you!") % item.jid.full())
|
||||
#self.host.memory.addContact(item.jid, item_attr, item.groups, self.parent.profile)
|
||||
|
||||
bare_jid = item.jid.userhostJID()
|
||||
|
|
|
|||
Loading…
Reference in a new issue