Fix compilation with e2ee disabled

This commit is contained in:
Carl Schwan
2023-07-28 13:01:54 +02:00
parent c22c74f735
commit 7c1b43bcad
2 changed files with 8 additions and 0 deletions

View File

@@ -185,8 +185,10 @@ int main(int argc, char *argv[])
initLogging();
#if Quotient_VERSION_MINOR == 8
#ifdef Quotient_E2EE_ENABLED
Connection::setEncryptionDefault(true);
#endif
#endif
#ifdef NEOCHAT_FLATPAK
// Copy over the included FontConfig configuration to the