Allow sending encrypted messages if build supports it

This commit is contained in:
Tobias Fella
2022-05-19 23:27:53 +02:00
parent ded60b906b
commit b1581a54d1
3 changed files with 14 additions and 3 deletions

View File

@@ -706,4 +706,13 @@ bool Controller::hasWindowSystem() const
QString Controller::plainText(QQuickTextDocument *document) const
{
return document->textDocument()->toPlainText();
}
}
bool Controller::encryptionSupported() const
{
#ifdef QUOTIENT_07
return Quotient::encryptionSupported();
#else
return false;
#endif
}