aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorLewis Crichton <lewi@lewisakura.moe>2023-03-16 01:27:46 +0000
committerGitHub <noreply@github.com>2023-03-15 22:27:46 -0300
commit4c5a56a8a5730f4dca318fc7ee417a80168075a3 (patch)
tree8281de5bbd9eab5e9700ad5f522b1e4b49cb7a7e /src/plugins
parented873ef9de609b9d92429235e39a0feabe09e980 (diff)
downloadVencord-4c5a56a8a5730f4dca318fc7ee417a80168075a3.tar.gz
Vencord-4c5a56a8a5730f4dca318fc7ee417a80168075a3.tar.bz2
Vencord-4c5a56a8a5730f4dca318fc7ee417a80168075a3.zip
fix(RoleColorEverywhere): Chat mentions (#605)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/roleColorEverywhere.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/roleColorEverywhere.tsx b/src/plugins/roleColorEverywhere.tsx
index 5d48da0..4085b25 100644
--- a/src/plugins/roleColorEverywhere.tsx
+++ b/src/plugins/roleColorEverywhere.tsx
@@ -52,8 +52,8 @@ export default definePlugin({
find: 'className:"mention"',
replacement: [
{
- match: /user:(\i),channelId:(\i).{0,300}?"@"\.concat\(.+?\)/,
- replace: "$&,color:$self.getUserColor($1.id,{channelId:$2})"
+ match: /user:(\i),channel:(\i).{0,300}?"@"\.concat\(.+?\)/,
+ replace: "$&,color:$self.getUserColor($1.id,{channelId:$2.id})"
}
],
predicate: () => settings.store.chatMentions,