Use correct preprocessor definition
This commit is contained in:
@@ -177,7 +177,7 @@ void Controller::handleNotifications()
|
|||||||
auto body = notification["event"].toObject()["content"].toObject()["body"].toString();
|
auto body = notification["event"].toObject()["content"].toObject()["body"].toString();
|
||||||
|
|
||||||
if (notification["event"]["type"] == "m.room.encrypted") {
|
if (notification["event"]["type"] == "m.room.encrypted") {
|
||||||
#ifdef QUOTIENT_E2EE_ENABLED
|
#ifdef Quotient_E2EE_ENABLED
|
||||||
auto decrypted = m_connection->decryptNotification(notification);
|
auto decrypted = m_connection->decryptNotification(notification);
|
||||||
body = decrypted["content"].toObject()["body"].toString();
|
body = decrypted["content"].toObject()["body"].toString();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user