The api side is finally working perfectly!

This commit is contained in:
LucasGGamerM
2022-12-09 10:30:24 -03:00
parent 337689aa45
commit 0ef0aa1a44

View File

@@ -63,25 +63,25 @@ public class StatusTranslation extends BaseModel implements DisplayItemsParent{
@Override @Override
public void postprocess() throws ObjectValidationException{ public void postprocess() throws ObjectValidationException{
super.postprocess(); super.postprocess();
if(application!=null) // if(application!=null)
application.postprocess(); // application.postprocess();
for(Mention m:mentions) // for(Mention m:mentions)
m.postprocess(); // m.postprocess();
for(Hashtag t:tags) // for(Hashtag t:tags)
t.postprocess(); // t.postprocess();
for(Emoji e:emojis) // for(Emoji e:emojis)
e.postprocess(); // e.postprocess();
for(Attachment a:mediaAttachments) // for(Attachment a:mediaAttachments)
a.postprocess(); // a.postprocess();
account.postprocess(); // account.postprocess();
if(poll!=null) // if(poll!=null)
poll.postprocess(); // poll.postprocess();
if(card!=null) // if(card!=null)
card.postprocess(); // card.postprocess();
if(reblog!=null) // if(reblog!=null)
reblog.postprocess(); // reblog.postprocess();
spoilerRevealed=GlobalUserPreferences.alwaysExpandContentWarnings || !sensitive; // spoilerRevealed=GlobalUserPreferences.alwaysExpandContentWarnings || !sensitive;
} }
@Override @Override