Use correct preprocessor definition

This commit is contained in:
Tobias Fella
2022-10-27 21:03:31 +02:00
parent a4c26371d6
commit c34d99a234

View File

@@ -177,7 +177,7 @@ void Controller::handleNotifications()
auto body = notification["event"].toObject()["content"].toObject()["body"].toString();
if (notification["event"]["type"] == "m.room.encrypted") {
#ifdef QUOTIENT_E2EE_ENABLED
#ifdef Quotient_E2EE_ENABLED
auto decrypted = m_connection->decryptNotification(notification);
body = decrypted["content"].toObject()["body"].toString();
#endif