aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities/Conversation.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-23 18:04:29 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-23 18:04:29 +0200
commit23e5fb5d5643ef915fda4819d3786e245cfcea88 (patch)
tree83f74ab2e32f6ecdd94a9273765662888ae43520 /src/eu/siacs/conversations/entities/Conversation.java
parentb6e3ce4b2037b337e4e245411d8b25d61823a6c7 (diff)
fixed bug with otr session being initilized over and over again
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/entities/Conversation.java9
1 files changed, 0 insertions, 9 deletions
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);
- }
- }
- }
}