diff --git a/lib/src/client.dart b/lib/src/client.dart index 6ad6aef64..a558937c5 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -1932,6 +1932,7 @@ class Client extends MatrixApi { ).timeout(timeoutForServerRequests); } on MatrixException catch (_) { // No access to the MatrixEvent. Search in /notifications + await ensureNotSoftLoggedOut(); final notificationsResponse = await getNotifications(); matrixEvent ??= notificationsResponse.notifications .firstWhereOrNull(