diff options
author | steckbrief <steckbrief@chefmail.de> | 2016-04-07 16:13:03 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2016-04-07 16:13:03 +0200 |
commit | aeda55ba7c91ed0722b5cab84697bc7985d3caf9 (patch) | |
tree | f146f329f90b4924e674fdf14b03c2e813a8d79d | |
parent | 8c3245dd1f257053b8ec2bf7c5e03a3a98b282c3 (diff) |
Fixes FS#197: Decrease verbosity of logging of 'skipping duplicate message'
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/parser/MessageParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/parser/MessageParser.java b/src/main/java/de/thedevstack/conversationsplus/parser/MessageParser.java index c65df887..6fb18266 100644 --- a/src/main/java/de/thedevstack/conversationsplus/parser/MessageParser.java +++ b/src/main/java/de/thedevstack/conversationsplus/parser/MessageParser.java @@ -415,7 +415,7 @@ public class MessageParser extends AbstractParser implements || (isTypeGroupChat && packet.hasChild("delay","urn:xmpp:delay")) || message.getType() == Message.TYPE_PRIVATE; if (checkForDuplicates && conversation.hasDuplicateMessage(message)) { - Log.d(Config.LOGTAG,"skipping duplicate message from "+message.getCounterpart().toString()+" "+message.getBody()); + Logging.d(Config.LOGTAG, "skipping duplicate message from '" + message.getCounterpart().toString() + "' with remote id " + message.getRemoteMsgId()); return; } |