diff --git a/manifest.json b/manifest.json index 8edf2df..d78c025 100644 --- a/manifest.json +++ b/manifest.json @@ -7,7 +7,7 @@ "discordID": "372148345894076416", "github": "SammCheese" }, - "version": "1.2.3", + "version": "1.2.4", "updater": { "type": "github", "id": "SammCheese/invisible-chat" diff --git a/package.json b/package.json index 728e3d7..1cbc05f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "invisible-chat", - "version": "1.2.3", + "version": "1.2.4", "description": "Encrypt your Discord Messages", "engines": { "node": ">=14.0.0" diff --git a/src/plaintextPatches.ts b/src/plaintextPatches.ts index 9784b96..ba0251d 100644 --- a/src/plaintextPatches.ts +++ b/src/plaintextPatches.ts @@ -11,8 +11,8 @@ const patches: types.PlaintextPatch[] = [ }, { // Chatbar Lock - match: /,.=.\.activeCommand,.=.\.activeCommandOption,.{0,255},(.)=\[\];/, - replace: "$&;try{$1.push(window.invisiblechat?.chatbarLock)}catch{};", + match: /(.)\.push.{1,}\(.{1,3},\{.{1,30}\},"gift"\)\)/, + replace: "$&;try{$1.push(window.invisiblechat?.chatbarLock)}catch{}", }, { // Message Indicator