This commit is contained in:
thororen1234 2024-10-15 14:19:01 -04:00
parent 0e167188a2
commit 64e8b045f0

View file

@ -131,14 +131,14 @@ export default definePlugin({
dependencies: ["UserSettingsAPI"],
patches: [
{
find: ".Messages.CUSTOM_STATUS_CLEAR_AFTER",
find: "Messages.CUSTOM_STATUS_SET_CUSTOM_STATUS}",
replacement: {
match: /\.ModalFooter,.{0,70}\.Messages\.SAVE\}\)/,
replace: "$&,$self.renderRememberButton(this.state)"
}
},
{
find: ".Messages.STATUS_MENU_LABEL",
find: "Messages.STATUS_MENU_LABEL",
replacement: {
match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/,
replace: "$self.render($2, $3),false&&$1"