Temporarily disable certificate validation for Android

This is merely to allow users to log in and should be a temporary fix only.
android
Loren Burkholder 4 years ago
parent 9a6f53e8b2
commit bef2216ad3
  1. 9
      src/UserSettingsPage.h

@ -232,7 +232,14 @@ public:
QString accessToken() const { return accessToken_; }
QString deviceId() const { return deviceId_; }
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_; }
bool useIdenticon() const { return useIdenticon_ && JdenticonProvider::isAvailable(); }

Loading…
Cancel
Save