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 {