Fix a few verification typos

This commit is contained in:
Nicolas Werner 2021-09-20 01:15:51 +02:00
parent d1c8149d07
commit a54f828fb4
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ Pane {
case DeviceVerificationFlow.User:
return qsTr("Other party canceled the verification.");
case DeviceVerificationFlow.OutOfOrder:
return qsTr("Device verification timed out.");
return qsTr("Verification messages received out of order!");
default:
return "Unknown verification error.";
}

View File

@ -378,7 +378,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
&ChatPage::receivedDeviceVerificationDone,
this,
[this](const mtx::events::msg::KeyVerificationDone &msg) {
nhlog::crypto()->info("verification: receoved done");
nhlog::crypto()->info("verification: received done");
if (msg.transaction_id.has_value()) {
if (msg.transaction_id.value() != this->transaction_id)
return;