diff options
author | Tobias Fella <fella@posteo.de> | 2021-05-19 00:35:53 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:56:11 +0100 |
commit | c408b460bea2010c6745e03c549e136d6b1d9ec6 (patch) | |
tree | f737de0ffb3f9abdd6710ca2cb03ea5044fc4248 /lib/room.cpp | |
parent | e0945db3c4c539040f07ff7683efa9dc4e6b9e6a (diff) | |
download | libquotient-c408b460bea2010c6745e03c549e136d6b1d9ec6.tar.gz libquotient-c408b460bea2010c6745e03c549e136d6b1d9ec6.zip |
Start tracking user's devices when a a room starts being encrypted
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 1a7a9911..b6022f1b 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -475,6 +475,9 @@ Room::Room(Connection* connection, QString id, JoinState initialJoinState) emit baseStateLoaded(); return this == r; // loadedRoomState fires only once per room }); + connectSingleShot(this, &Room::encryption, this, [=](){ + connection->newEncryptedRoom(this); + }); qCDebug(STATE) << "New" << terse << initialJoinState << "Room:" << id; } |