summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activities/models/emoji.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/activities/models/emoji.py b/activities/models/emoji.py
index 8af28e3..441be22 100644
--- a/activities/models/emoji.py
+++ b/activities/models/emoji.py
@@ -255,7 +255,11 @@ class Emoji(StatorModel):
"shortcode": self.shortcode,
"url": url,
"static_url": self.remote_url or url,
- "visible_in_picker": self.public,
+ "visible_in_picker": (
+ Config.system.emoji_unreviewed_are_public
+ if self.public is None
+ else self.public
+ ),
"category": self.category or "",
}
return data