aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-09 14:30:16 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-09 14:30:16 +0200
commit4b2e06b9c34e24b73a5e324e6d082fe817044729 (patch)
treefee30cae9379bcbefd399a3388d41cc7208f9d7f /src/eu/siacs/conversations/services
parentc02ef8008621049b803803fd131626c2365035ae (diff)
version bump, changelog and one last minute change for 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 5c5288de..f272486c 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -115,7 +115,7 @@ public class XmppConnectionService extends Service {
public void onContactStatusChanged(Contact contact, boolean online) {
Conversation conversation = find(getConversations(), contact);
if (conversation != null) {
- conversation.resetOtrSession();
+ conversation.endOtrIfNeeded();
if (online && (contact.getPresences().size() == 1)) {
sendUnsendMessages(conversation);
}