2 files changed, 1 insertions, 2 deletions
diff --git a/src/DeviceVerificationFlow.cpp b/src/DeviceVerificationFlow.cpp
index 9f120a00..9b260892 100644
--- a/src/DeviceVerificationFlow.cpp
+++ b/src/DeviceVerificationFlow.cpp
@@ -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();
}
});
diff --git a/src/DeviceVerificationFlow.h b/src/DeviceVerificationFlow.h
index 5830e705..ea86a10b 100644
--- a/src/DeviceVerificationFlow.h
+++ b/src/DeviceVerificationFlow.h
@@ -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;
|