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