mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
Temporarily disable certificate validation for Android
This is merely to allow users to log in and should be a temporary fix only.
This commit is contained in:
parent
9a6f53e8b2
commit
bef2216ad3
1 changed files with 8 additions and 1 deletions
|
@ -232,7 +232,14 @@ public:
|
||||||
QString accessToken() const { return accessToken_; }
|
QString accessToken() const { return accessToken_; }
|
||||||
QString deviceId() const { return deviceId_; }
|
QString deviceId() const { return deviceId_; }
|
||||||
QString homeserver() const { return homeserver_; }
|
QString homeserver() const { return homeserver_; }
|
||||||
bool disableCertificateValidation() const { return disableCertificateValidation_; }
|
bool disableCertificateValidation() const
|
||||||
|
{
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
|
return true;
|
||||||
|
#else
|
||||||
|
return disableCertificateValidation_;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
QStringList hiddenTags() const { return hiddenTags_; }
|
QStringList hiddenTags() const { return hiddenTags_; }
|
||||||
bool useIdenticon() const { return useIdenticon_ && JdenticonProvider::isAvailable(); }
|
bool useIdenticon() const { return useIdenticon_ && JdenticonProvider::isAvailable(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue