Return full chat list
This commit is contained in:
@@ -30,7 +30,6 @@ public sealed class ChatsController(
|
||||
.OrderByDescending(x => x.IsPinned)
|
||||
.ThenByDescending(x => x.UnreadCount > 0)
|
||||
.ThenByDescending(x => x.LastMessageAt ?? x.UpdatedAt)
|
||||
.Take(200)
|
||||
.ToArray();
|
||||
|
||||
return chats.Select(projection.ToDto).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user