From 6ef9421d3525e35e18b052d3eab31560d49d31b8 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 24 Jun 2014 15:07:59 +0200 Subject: fixes for offline otr --- src/eu/siacs/conversations/services/XmppConnectionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java') 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 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)); } } -- cgit v1.2.3