Fix PinDMs, SMYN, SilentTyping, ValidUser, PlatformIndicators (#1865)

This commit is contained in:
rini 2023-10-25 12:34:23 -03:00 committed by V
parent c5dd50ad8f
commit 9c60b38acc
6 changed files with 34 additions and 56 deletions

View file

@ -74,13 +74,13 @@ function SilentTypingToggle(chatBoxProps: {
export default definePlugin({
name: "SilentTyping",
authors: [Devs.Ven, Devs.dzshn],
authors: [Devs.Ven, Devs.Rini],
description: "Hide that you are typing",
patches: [
{
find: "startTyping:",
find: '.dispatch({type:"TYPING_START_LOCAL"',
replacement: {
match: /startTyping:.+?,stop/,
match: /startTyping\(\i\){.+?},stop/,
replace: "startTyping:$self.startTyping,stop"
}
},