From 23e5fb5d5643ef915fda4819d3786e245cfcea88 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Wed, 23 Jul 2014 18:04:29 +0200 Subject: fixed bug with otr session being initilized over and over again --- src/eu/siacs/conversations/entities/Conversation.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/eu/siacs/conversations/entities') diff --git a/src/eu/siacs/conversations/entities/Conversation.java b/src/eu/siacs/conversations/entities/Conversation.java index 83ea8931..76fe84cf 100644 --- a/src/eu/siacs/conversations/entities/Conversation.java +++ b/src/eu/siacs/conversations/entities/Conversation.java @@ -395,13 +395,4 @@ public class Conversation extends AbstractEntity { public Bookmark getBookmark() { return this.bookmark; } - - public void failWaitingOtrMessages() { - for (Message message : this.messages) { - if (message.getEncryption() == Message.ENCRYPTION_OTR - && message.getStatus() == Message.STATUS_WAITING) { - message.setStatus(Message.STATUS_SEND_FAILED); - } - } - } } -- cgit v1.2.3