aboutsummaryrefslogtreecommitdiff
path: root/lib/keyverificationsession.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyverificationsession.h')
-rw-r--r--lib/keyverificationsession.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/keyverificationsession.h b/lib/keyverificationsession.h
index 2756fa0a..73c9384e 100644
--- a/lib/keyverificationsession.h
+++ b/lib/keyverificationsession.h
@@ -128,10 +128,8 @@ private:
void init(std::chrono::milliseconds timeout);
void setState(State state);
void setError(Error error);
- QStringList commonSupportedMethods(const QStringList& remoteSupportedMethods) const;
- QString errorToString(Error error) const;
- Error stringToError(const QString& error) const;
- QStringList m_supportedMethods = { "m.sas.v1"_ls };
+ static QString errorToString(Error error);
+ static Error stringToError(const QString& error);
QByteArray macInfo(bool verifying, const QString& key = "KEY_IDS"_ls);
QString calculateMac(const QString& input, bool verifying, const QString& keyId= "KEY_IDS"_ls);
@@ -139,4 +137,4 @@ private:
std::pair<QString, QString> emojiForCode(int code);
};
-}
+} // namespace Quotient