🐛 Fixing the post truncate

This commit is contained in:
2025-06-21 11:46:08 +08:00
parent bcd107ae2c
commit aefc38c5a3
2 changed files with 9 additions and 8 deletions

View File

@ -66,7 +66,7 @@ public class Post : ModelBase, IIdentifiedResource, IActivity
public ICollection<PostCollection> Collections { get; set; } = new List<PostCollection>();
[JsonIgnore] public bool Empty => Content == null && Attachments.Count == 0 && ForwardedPostId == null;
[NotMapped] public bool IsTruncated = false;
[NotMapped] public bool IsTruncated { get; set; } = false;
public string ResourceIdentifier => $"post/{Id}";