Skip to content
Snippets Groups Projects
Verified Commit 9d16f2e8 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix verification error codes

parent 4bd6aeab
No related branches found
No related tags found
No related merge requests found
Pipeline #5011 passed
......@@ -63,6 +63,9 @@ using sas_ptr = std::unique_ptr<mtx::crypto::SAS>;
class DeviceVerificationFlow final : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE("")
Q_PROPERTY(QString state READ state NOTIFY stateChanged)
Q_PROPERTY(Error error READ error NOTIFY errorChanged)
Q_PROPERTY(QString userId READ getUserId CONSTANT)
......
......@@ -246,6 +246,8 @@ SelfVerificationStatus::verifyMasterKey()
if (!devices.empty())
ChatPage::instance()->timelineManager()->verificationManager()->verifyOneOfDevices(
QString::fromStdString(this_user), std::move(devices));
else
nhlog::db()->info("No devices to verify");
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment