diff --git a/src/plugins/textEmoji/index.ts b/src/plugins/textEmoji/index.ts index 7ad4b9bd6..bc96c68f2 100644 --- a/src/plugins/textEmoji/index.ts +++ b/src/plugins/textEmoji/index.ts @@ -28,7 +28,7 @@ export default definePlugin({ patches: [ // Reactions { - find: "getSrc(){", + find: 'throw Error("Unknown Src for Emoji")', replacement: { match: /(if\(null!=\i\))return \i\.\i\.getURL\(\i\)/, replace: "$1return null",