1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-09 09:26:22 +00:00

Fix TextEmoji on latest client version

This commit is contained in:
Grzesiek11 2024-10-27 00:53:29 +02:00
parent a943b39fd5
commit e60b9f22de
No known key found for this signature in database
GPG key ID: 4A5445FB68CDB5C4

View file

@ -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",