✨ Truncated the post's body to prevent them from being too long
This commit is contained in:
@ -30,6 +30,7 @@ public class ActivityService(AppDatabase db)
|
||||
.Include(e => e.Tags)
|
||||
.FilterWithVisibility(currentUser, userFriends)
|
||||
.ToListAsync();
|
||||
posts = PostService.TruncatePostContent(posts);
|
||||
|
||||
var postsDict = posts.ToDictionary(p => p.Id);
|
||||
|
||||
|
Reference in New Issue
Block a user