mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -05:00
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 New Issue
Block a user