diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-23 23:29:26 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-23 23:29:26 +0200 |
commit | 18d0e57f52c93122b16c0769dd663cb02b864040 (patch) | |
tree | d79324cabe28aa1262070e56e9636965fb22f997 /src/eu/siacs/conversations/parser/MessageParser.java | |
parent | 25e44cbf52b87f6fbe9b2d491037594d9e406648 (diff) |
fixed regression with chat markers not working
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/parser/MessageParser.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/parser/MessageParser.java b/src/eu/siacs/conversations/parser/MessageParser.java index e99892a0..f0615876 100644 --- a/src/eu/siacs/conversations/parser/MessageParser.java +++ b/src/eu/siacs/conversations/parser/MessageParser.java @@ -1,6 +1,5 @@ package eu.siacs.conversations.parser; -import android.util.Log; import net.java.otr4j.session.Session; import net.java.otr4j.session.SessionStatus; import eu.siacs.conversations.entities.Account; @@ -18,7 +17,6 @@ public class MessageParser extends AbstractParser { } public Message parseChat(MessagePacket packet, Account account) { - Log.d("xmppService","received message: "+packet.toString()); String[] fromParts = packet.getFrom().split("/"); Conversation conversation = mXmppConnectionService .findOrCreateConversation(account, fromParts[0], false); @@ -84,7 +82,6 @@ public class MessageParser extends AbstractParser { if (body.startsWith(CryptoHelper.FILETRANSFER)) { String key = body.substring(CryptoHelper.FILETRANSFER.length()); conversation.setSymmetricKey(CryptoHelper.hexToBytes(key)); - Log.d("xmppService","new symmetric key: "+CryptoHelper.bytesToHex(conversation.getSymmetricKey())); return null; } conversation.setLatestMarkableMessageId(getMarkableMessageId(packet)); |