Fixed pulling emoji from the shortcode property
ci/woodpecker/push/ociImagePush Pipeline was successful
Details
ci/woodpecker/push/ociImagePush Pipeline was successful
Details
This commit is contained in:
parent
0bb0c775dc
commit
0ed23fe68e
|
@ -17,6 +17,7 @@ import {
|
||||||
magConvertReaction,
|
magConvertReaction,
|
||||||
magReactionEquals,
|
magReactionEquals,
|
||||||
magReactionToLegacy,
|
magReactionToLegacy,
|
||||||
|
magTransProperty,
|
||||||
} from "@/scripts-mag/mag-util";
|
} from "@/scripts-mag/mag-util";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -550,7 +551,11 @@ export default defineComponent({
|
||||||
this.customEmojis.find((e) =>
|
this.customEmojis.find((e) =>
|
||||||
magReactionEquals(
|
magReactionEquals(
|
||||||
magConvertReaction(
|
magConvertReaction(
|
||||||
`:${e.name}:`
|
`:${magTransProperty(
|
||||||
|
e,
|
||||||
|
"shortcode",
|
||||||
|
"name"
|
||||||
|
)}:`
|
||||||
),
|
),
|
||||||
{ name, host, url: null! }
|
{ name, host, url: null! }
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue