This commit is contained in:
ThatOneCalculator 2023-03-24 13:14:41 -07:00
parent a751050dd0
commit 5b575c67ed
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 6 additions and 5 deletions

View file

@ -43,10 +43,11 @@ export function toTextWithReaction(status: Entity.Status[], host: string) {
for (const r of reaction) {
if (!r.url) continue
emoji.push({
'shortcode': r.name,
'url': r.url,
'static_url': r.url,
'visible_in_picker': true,
'shortcode': r.name,
'url': r.url,
'static_url': r.url,
'visible_in_picker': true,
category: ""
},)
}
const isMe = reaction.findIndex((r) => r.me) > -1;