diff options
Diffstat (limited to 'lib/connection.cpp')
-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 9ea09258..10256d9c 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -658,10 +658,12 @@ void Connection::onSyncSuccess(SyncData&& data, bool fromCache) d->consumeAccountData(data.takeAccountData()); d->consumePresenceData(data.takePresenceData()); d->consumeToDeviceEvents(data.takeToDeviceEvents()); +#ifdef Quotient_E2EE_ENABLED if(d->encryptionUpdateRequired) { d->loadOutdatedUserDevices(); d->encryptionUpdateRequired = false; } +#endif } void Connection::Private::consumeRoomData(SyncDataList&& roomDataList, |