mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-06 17:25:01 -05:00
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 New Issue
Block a user