From 386b3ad1cfe8b64ac0df22ce210f3397a449cdc7 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 22 Sep 2026 10:37:49 -0400 Subject: [PATCH] inline the mention fetch --- lib/controllers/notifications.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/controllers/notifications.dart b/lib/controllers/notifications.dart index e57025e..bed3013 100644 --- a/lib/controllers/notifications.dart +++ b/lib/controllers/notifications.dart @@ -15,7 +15,7 @@ class NotificationsController([final NotificationsRequest? request]) final (unreadType, roomId) = request ?? (null, null); - final mentions = await client.getMentions( + return await client.getMentions( .new( maxTimestamp: .now(), unreadType: unreadType ?? .highlight, @@ -23,8 +23,6 @@ class NotificationsController([final NotificationsRequest? request]) roomId: roomId, ), ); - - return mentions; } Future loadOlder() async {