mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
Fix the Weird auto-confirmation and cancellation
This commit is contained in:
parent
fd232b1f4a
commit
75efa5d3a2
2 changed files with 1 additions and 2 deletions
|
@ -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 a new issue