Fix the Weird auto-confirmation and cancellation
This commit is contained in:
parent
fd232b1f4a
commit
75efa5d3a2
@ -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();
|
||||
}
|
||||
});
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user