diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-08 00:31:29 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-08 00:31:29 +0100 |
commit | 5955da3519787bd2b0c6d5b1cc879137f4e946da (patch) | |
tree | 001c0957704e18480f99d471cd4500ad76aed870 /src/eu/siacs/conversations/services | |
parent | 100059b530ad80f20a98c29af57c88d29c4eeabf (diff) |
fixed a couple of pgp bugs
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index c6af9d1d..d0a879b4 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -253,7 +253,6 @@ public class XmppConnectionService extends Service { if ((x != null) && (x.getAttribute("xmlns").equals("jabber:x:signed"))) { try { - Log.d(LOGTAG,"pgp signature for contact" +packet.getAttribute("from")); contact.setPgpKeyId(pgp.fetchKeyId(packet.findChild("status") .getContent(), x.getContent())); } catch (OpenPgpException e) { @@ -287,7 +286,7 @@ public class XmppConnectionService extends Service { // TODO: ask user to handle it maybe } } else { - //Log.d(LOGTAG, packet.toString()); + Log.d(LOGTAG, packet.toString()); } replaceContactInConversation(contact.getJid(), contact); } @@ -508,7 +507,6 @@ public class XmppConnectionService extends Service { x.setContent(this.getPgpEngine().encrypt(keyId, message.getBody())); packet.addChild(x); - Log.d(LOGTAG,"pgp message"+packet.toString()); account.getXmppConnection().sendMessagePacket(packet); message.setStatus(Message.STATUS_SEND); message.setEncryption(Message.ENCRYPTION_DECRYPTED); |