From e60b9f22de5c04473be1d58f3d261c2330bac45a Mon Sep 17 00:00:00 2001 From: Grzesiek11 Date: Sun, 27 Oct 2024 00:53:29 +0200 Subject: [PATCH] Fix TextEmoji on latest client version --- src/plugins/textEmoji/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",