mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-09 17:36:23 +00:00
Fix TextEmoji on latest client version
This commit is contained in:
parent
a943b39fd5
commit
e60b9f22de
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default definePlugin({
|
||||||
patches: [
|
patches: [
|
||||||
// Reactions
|
// Reactions
|
||||||
{
|
{
|
||||||
find: "getSrc(){",
|
find: 'throw Error("Unknown Src for Emoji")',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(if\(null!=\i\))return \i\.\i\.getURL\(\i\)/,
|
match: /(if\(null!=\i\))return \i\.\i\.getURL\(\i\)/,
|
||||||
replace: "$1return null",
|
replace: "$1return null",
|
||||||
|
|
Loading…
Reference in a new issue