mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-27 10:04:45 +01:00
Ensure NSFW flag accurately reflects community data
This commit is contained in:
parent
92da97b71a
commit
dad2701aee
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user