refactor(status-emojis-field): make it not a required field. This is for glitch-soc

The glitch-soc people are doing weird stuff, and there is probably an easy way to fix it all... but I am not sure I know it yet
This commit is contained in:
LucasGGamerM
2025-05-08 14:06:32 -03:00
parent a8da796956
commit 2a7e8bac2d

View File

@@ -62,8 +62,8 @@ public class Status extends BaseModel implements DisplayItemsParent, Searchable{
public List<Mention> mentions; public List<Mention> mentions;
@RequiredField @RequiredField
public List<Hashtag> tags; public List<Hashtag> tags;
@RequiredField // @RequiredField // sometimes null on glitch-soc? TODO: make this field required again
public List<Emoji> emojis; public List<Emoji> emojis = new ArrayList<>();
public long reblogsCount; public long reblogsCount;
public long favouritesCount; public long favouritesCount;
public long repliesCount; public long repliesCount;