Fix the Weird auto-confirmation and cancellation

This commit is contained in:
CH Chethan Reddy 2020-06-25 23:29:50 +05:30
parent fd232b1f4a
commit 75efa5d3a2
2 changed files with 1 additions and 2 deletions

View File

@ -190,7 +190,6 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *)
auto msg =
std::get<mtx::events::DeviceEvent<msgs::KeyVerificationDone>>(message);
if (msg.content.transaction_id == this->transaction_id) {
this->startVerificationRequest();
emit this->deviceVerified();
}
});

View File

@ -78,7 +78,7 @@ private:
QTimer *timeout = nullptr;
sas_ptr sas;
bool isMacVerified;
bool isMacVerified = false;
std::string mac_method;
std::string transaction_id;
std::string commitment;