aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/parser')
-rw-r--r--src/eu/siacs/conversations/parser/MessageParser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/parser/MessageParser.java b/src/eu/siacs/conversations/parser/MessageParser.java
index cd10d6c8..598cf830 100644
--- a/src/eu/siacs/conversations/parser/MessageParser.java
+++ b/src/eu/siacs/conversations/parser/MessageParser.java
@@ -92,9 +92,9 @@ public class MessageParser extends AbstractParser {
} catch (Exception e) {
String receivedId = packet.getId();
if (receivedId!=null) {
- mXmppConnectionService.replyWithError(account,packet);
+ mXmppConnectionService.replyWithNotAcceptable(account,packet);
}
- conversation.resetOtrSession();
+ conversation.endOtrIfNeeded();
return null;
}
}