aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-24 15:07:59 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-24 15:07:59 +0200
commit6ef9421d3525e35e18b052d3eab31560d49d31b8 (patch)
tree2d1198394756095bb8fb011a9785e5e7bcedc7d2 /src/eu/siacs/conversations/services
parent2a8f9642d562179b20938908e28a93f2d0480a4b (diff)
fixes for offline otr
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index f71a6d78..35bc2603 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -235,7 +235,7 @@ public class XmppConnectionService extends Service {
List<Conversation> conversations = getConversations();
for (int i = 0; i < conversations.size(); ++i) {
if (conversations.get(i).getAccount() == account) {
- conversations.get(i).endOtrIfNeeded();
+ conversations.get(i).startOtrIfNeeded();
sendUnsendMessages(conversations.get(i));
}
}