mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix a few verification typos
This commit is contained in:
parent
d1c8149d07
commit
a54f828fb4
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ Pane {
|
||||||
case DeviceVerificationFlow.User:
|
case DeviceVerificationFlow.User:
|
||||||
return qsTr("Other party canceled the verification.");
|
return qsTr("Other party canceled the verification.");
|
||||||
case DeviceVerificationFlow.OutOfOrder:
|
case DeviceVerificationFlow.OutOfOrder:
|
||||||
return qsTr("Device verification timed out.");
|
return qsTr("Verification messages received out of order!");
|
||||||
default:
|
default:
|
||||||
return "Unknown verification error.";
|
return "Unknown verification error.";
|
||||||
}
|
}
|
||||||
|
|
|
@ -378,7 +378,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
|
||||||
&ChatPage::receivedDeviceVerificationDone,
|
&ChatPage::receivedDeviceVerificationDone,
|
||||||
this,
|
this,
|
||||||
[this](const mtx::events::msg::KeyVerificationDone &msg) {
|
[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.has_value()) {
|
||||||
if (msg.transaction_id.value() != this->transaction_id)
|
if (msg.transaction_id.value() != this->transaction_id)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue