summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-15 19:56:55 +0500
committerilotterytea <iltsu@alright.party>2025-05-15 19:56:55 +0500
commit98e7d4bcb8fdf99d97f95be2fb0cc18a0543808b (patch)
tree27e7899153f52db4d838018f3d86ad5defc6c8c6 /src
parent7a247f38ae73e982eb4fd91517320877eec2f3f9 (diff)
upd: more emote data fields in json responses
Diffstat (limited to 'src')
-rw-r--r--src/emote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emote.php b/src/emote.php
index 7e589e4..74db4ca 100644
--- a/src/emote.php
+++ b/src/emote.php
@@ -83,7 +83,7 @@ function fetch_all_emotes_from_emoteset(PDO &$db, string $emote_set_id, string $
{
// fetching emotes
$sql = "SELECT
- e.id, e.created_at,
+ e.id, e.created_at, e.visibility,
CASE
WHEN esc.code IS NOT NULL THEN esc.code
ELSE e.code