From 2173a422dd4fc6d84ff25b49b77bbfac6af31b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Wed, 8 Jul 2026 09:18:50 +0200 Subject: [PATCH] fix: ensure not soft logged out in pushhelper fixes an error report in FluffyChat which therefore also can happen in Famedly. Should reduce the amount of unable to fetch events in notifications a little bit. --- lib/src/client.dart | 1 + 1 file changed, 1 insertion(+) 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(