Skip to content

Commit 5a53607

Browse files
committed
Fix chatbar icon
1 parent bf0b15b commit 5a53607

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"discordID": "372148345894076416",
88
"github": "SammCheese"
99
},
10-
"version": "1.2.3",
10+
"version": "1.2.4",
1111
"updater": {
1212
"type": "github",
1313
"id": "SammCheese/invisible-chat"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "invisible-chat",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "Encrypt your Discord Messages",
55
"engines": {
66
"node": ">=14.0.0"

src/plaintextPatches.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const patches: types.PlaintextPatch[] = [
1111
},
1212
{
1313
// Chatbar Lock
14-
match: /,.=.\.activeCommand,.=.\.activeCommandOption,.{0,255},(.)=\[\];/,
15-
replace: "$&;try{$1.push(window.invisiblechat?.chatbarLock)}catch{};",
14+
match: /(.)\.push.{1,}\(.{1,3},\{.{1,30}\},"gift"\)\)/,
15+
replace: "$&;try{$1.push(window.invisiblechat?.chatbarLock)}catch{}",
1616
},
1717
{
1818
// Message Indicator

0 commit comments

Comments
 (0)