aboutsummaryrefslogtreecommitdiff
path: root/autotests/testolmaccount.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-07 21:48:07 +0100
committerTobias Fella <fella@posteo.de>2022-02-07 21:48:07 +0100
commit7b5edb737522b03d4f697e0e09f1771ad5edef89 (patch)
treed102afda7ea49f7e51d4694e825d914a2ca8edef /autotests/testolmaccount.cpp
parent4837fd6de188b849a5d11de6791ba844398ce415 (diff)
downloadlibquotient-7b5edb737522b03d4f697e0e09f1771ad5edef89.tar.gz
libquotient-7b5edb737522b03d4f697e0e09f1771ad5edef89.zip
Remove encryptionmanager and various fixes
Diffstat (limited to 'autotests/testolmaccount.cpp')
-rw-r--r--autotests/testolmaccount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/testolmaccount.cpp b/autotests/testolmaccount.cpp
index 45d158eb..62b786d0 100644
--- a/autotests/testolmaccount.cpp
+++ b/autotests/testolmaccount.cpp
@@ -537,7 +537,7 @@ void TestOlmAccount::enableEncryption()
QString joinedRoom;
auto job = alice->createRoom(Connection::PublishRoom, QString(), QString(), QString(), {"@bob:localhost"});
- connect(alice.get(), &Connection::newRoom, this, [alice, bob, joinedRoom, this] (Quotient::Room *room) {
+ connect(alice.get(), &Connection::newRoom, this, [alice, bob, &joinedRoom, this] (Quotient::Room *room) {
room->activateEncryption();
QSignalSpy spy(room, &Room::encryption);