Ensure NSFW flag accurately reflects community data

This commit is contained in:
Bazsalanszky 2023-07-25 16:54:53 +02:00
parent 92da97b71a
commit dad2701aee

View File

@ -54,7 +54,7 @@ public class ParseSubredditData {
int instanceId = community.getInt("instance_id");
int subscribers = subredditDataJsonObject.getJSONObject("counts").getInt("subscribers");
return new SubredditData(id,name,title,description,removed,published,updated,deleted,nsfw,actorId,local,iconUrl,bannerImageUrl,hidden,postingRestrictedToMods,instanceId,subscribers);
return new SubredditData(id,name,title,description,removed,published,updated,deleted,isNSFW,actorId,local,iconUrl,bannerImageUrl,hidden,postingRestrictedToMods,instanceId,subscribers);
}
interface ParseSubredditDataListener {