Fix verification error codes

This commit is contained in:
Nicolas Werner 2023-07-16 19:25:37 +02:00
parent 4bd6aeab52
commit 9d16f2e8b4
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 5 additions and 0 deletions

View file

@ -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)