log background msgs not foreground msgs
This commit is contained in:
parent
add8e2cb74
commit
91732b89ea
|
@ -534,7 +534,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
|||
}
|
||||
}
|
||||
} else if (!packet.hasChild("body")){ //no body
|
||||
if (Config.BACKGROUND_STANZA_LOGGING && !mXmppConnectionService.checkListeners()) {
|
||||
if (Config.BACKGROUND_STANZA_LOGGING && mXmppConnectionService.checkListeners()) {
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": " + packet+ " (carbon="+Boolean.toString(isCarbon)+")");
|
||||
}
|
||||
Conversation conversation = mXmppConnectionService.find(account, from.toBareJid());
|
||||
|
|
Loading…
Reference in a new issue