diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-08 12:46:48 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-08 12:46:48 +0200 |
commit | 19f98f5143059d48bfb1fac9b376acec9cf412b2 (patch) | |
tree | c3fbb2d05d7c1d760149acd4a1eecff69e587664 /src/eu/siacs/conversations/services | |
parent | 409fdd8596f217e6f4101064342273268425edfb (diff) |
warn on missing presence subscription
Diffstat (limited to 'src/eu/siacs/conversations/services')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
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 2b2616e2..fc885d70 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.endOtrIfNeeded(); + conversation.resetOtrSession(); if (online && (contact.getPresences().size() == 1)) { sendUnsendMessages(conversation); } |