Fix a few verification typos

pull/732/head
Nicolas Werner 3 years ago
parent d1c8149d07
commit a54f828fb4
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      resources/qml/device-verification/Failed.qml
  2. 2
      src/DeviceVerificationFlow.cpp

@ -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.";
}

@ -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;

Loading…
Cancel
Save