Fix ifs for ssss
This commit is contained in:
@@ -411,7 +411,7 @@ void Controller::removeConnection(const QString &userId)
|
||||
|
||||
bool Controller::ssssSupported() const
|
||||
{
|
||||
#if __has_include("Quotient/e2ee/sssshandler.h")
|
||||
#if Quotient_VERSION_MINOR > 8 || Quotient_VERSION_PATCH > 1
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <Quotient/accountregistry.h>
|
||||
#include <Quotient/keyverificationsession.h>
|
||||
#if __has_include("Quotient/e2ee/sssshandler.h")
|
||||
#if Quotient_VERSION_MINOR > 8 || Quotient_VERSION_PATCH > 1
|
||||
#include <Quotient/e2ee/sssshandler.h>
|
||||
#endif
|
||||
|
||||
@@ -47,7 +47,7 @@ struct ForeignKeyVerificationSession {
|
||||
QML_UNCREATABLE("")
|
||||
};
|
||||
|
||||
#if __has_include("Quotient/e2ee/sssshandler.h")
|
||||
#if Quotient_VERSION_MINOR > 8 || Quotient_VERSION_PATCH > 1
|
||||
struct ForeignSSSSHandler {
|
||||
Q_GADGET
|
||||
QML_FOREIGN(Quotient::SSSSHandler)
|
||||
|
||||
Reference in New Issue
Block a user