commit: 0445d7c882a5b1d213b0ff5e54e91d6225101c66
parent de2c7b760fd5a16a3f580c85ac3beb493a6ad0c3
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Wed, 31 Aug 2022 16:03:15 -0400
Make unicode emoji phrases match with _
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/instance.js b/src/modules/instance.js
@@ -190,7 +190,7 @@ const instance = {
const values = await res.json()
const emoji = Object.keys(values).reduce((res, groupId) => {
res[groupId] = values[groupId].map(e => ({
- displayText: e.name,
+ displayText: e.slug,
imageUrl: false,
replacement: e.emoji
}))