end otr session instead of only resetting
This commit is contained in:
parent
45bd0449fb
commit
26ce62f365
|
@ -73,7 +73,7 @@ public class MessageParser extends AbstractParser implements
|
|||
updateLastseen(packet, account, true);
|
||||
String body = packet.getBody();
|
||||
if (body.matches("^\\?OTRv\\d*\\?")) {
|
||||
conversation.resetOtrSession();
|
||||
conversation.endOtrIfNeeded();
|
||||
}
|
||||
if (!conversation.hasValidOtrSession()) {
|
||||
if (properlyAddressed) {
|
||||
|
|
Loading…
Reference in a new issue