mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix?
This commit is contained in:
parent
00fffc1068
commit
cdcd4320a9
2 changed files with 6 additions and 5 deletions
packages/backend/src/server/api/mastodon/endpoints
|
@ -43,10 +43,11 @@ export function toTextWithReaction(status: Entity.Status[], host: string) {
|
||||||
for (const r of reaction) {
|
for (const r of reaction) {
|
||||||
if (!r.url) continue
|
if (!r.url) continue
|
||||||
emoji.push({
|
emoji.push({
|
||||||
'shortcode': r.name,
|
'shortcode': r.name,
|
||||||
'url': r.url,
|
'url': r.url,
|
||||||
'static_url': r.url,
|
'static_url': r.url,
|
||||||
'visible_in_picker': true,
|
'visible_in_picker': true,
|
||||||
|
category: ""
|
||||||
},)
|
},)
|
||||||
}
|
}
|
||||||
const isMe = reaction.findIndex((r) => r.me) > -1;
|
const isMe = reaction.findIndex((r) => r.me) > -1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue