diff options
author | Tobias Fella <fella@posteo.de> | 2021-08-31 00:48:23 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:56:11 +0100 |
commit | a30d457161fcaadfe944e4411d4b0e487e856178 (patch) | |
tree | a89f24bf937c913b55f79833b258254f7406430a /lib/room.cpp | |
parent | d04543ba00335d87a872b0f0c8ff35c85301e096 (diff) | |
download | libquotient-a30d457161fcaadfe944e4411d4b0e487e856178.tar.gz libquotient-a30d457161fcaadfe944e4411d4b0e487e856178.zip |
Fix build without E2EE
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 3a894b9b..57914db4 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -475,6 +475,7 @@ Room::Room(Connection* connection, QString id, JoinState initialJoinState) emit baseStateLoaded(); return this == r; // loadedRoomState fires only once per room }); +#ifdef Quotient_E2EE_ENABLED connectSingleShot(this, &Room::encryption, this, [=](){ connection->encryptionUpdate(this); }); @@ -483,6 +484,7 @@ Room::Room(Connection* connection, QString id, JoinState initialJoinState) connection->encryptionUpdate(this); } }); +#endif qCDebug(STATE) << "New" << terse << initialJoinState << "Room:" << id; } |