Skip to content

Commit

Permalink
Fix chatbar icon
Browse files Browse the repository at this point in the history
  • Loading branch information
SammCheese committed Mar 4, 2023
1 parent bf0b15b commit e853778
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"discordID": "372148345894076416",
"github": "SammCheese"
},
"version": "1.2.3",
"version": "1.2.4",
"updater": {
"type": "github",
"id": "SammCheese/invisible-chat"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/plaintextPatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e853778

Please sign in to comment.