From e4f634fe736df51545ce0d471f102dcaf5b9cb83 Mon Sep 17 00:00:00 2001 From: Danny van Heumen Date: Sun, 22 Feb 2015 00:55:58 +0100 Subject: Removes unused code snippet. --- src/net/java/sip/communicator/plugin/otr/OtrTransformLayer.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/net/java/sip/communicator/plugin/otr') diff --git a/src/net/java/sip/communicator/plugin/otr/OtrTransformLayer.java b/src/net/java/sip/communicator/plugin/otr/OtrTransformLayer.java index 8d653a6..1fe6324 100644 --- a/src/net/java/sip/communicator/plugin/otr/OtrTransformLayer.java +++ b/src/net/java/sip/communicator/plugin/otr/OtrTransformLayer.java @@ -24,10 +24,6 @@ public class OtrTransformLayer */ public MessageDeliveredEvent messageDelivered(MessageDeliveredEvent evt) { - Contact contact = evt.getDestinationContact(); - OtrContact otrContact = - OtrContactManager.getOtrContact(contact, evt.getContactResource()); - if (OtrActivator.scOtrEngine.isMessageUIDInjected(evt .getSourceMessage().getMessageUID())) // If this is a message otr4j injected earlier, don't display it, -- cgit v1.1