diff options
-rw-r--r-- | lib/connection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 4ca82888..1a5e3c6e 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -960,6 +960,7 @@ void Connection::Private::consumeToDeviceEvents(Events&& toDeviceEvents) #endif } +#ifdef Quotient_E2EE_ENABLED void Connection::Private::handleEncryptedToDeviceEvent(const EncryptedEvent& event) { const auto [decryptedEvent, id] = sessionDecryptMessage(event); @@ -985,6 +986,7 @@ void Connection::Private::handleEncryptedToDeviceEvent(const EncryptedEvent& eve << evt.matrixType(); }); } +#endif void Connection::Private::consumeDevicesList(DevicesList&& devicesList) { |