From 3013c669c035a9e6447aaa87d16c0f6a985c8f5f Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 31 Jul 2024 03:02:10 +0200 Subject: [PATCH] Fix ShowConnections Co-Authored-By: Masterjoona <69722179+Masterjoona@users.noreply.github.com> --- src/plugins/showConnections/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/showConnections/index.tsx b/src/plugins/showConnections/index.tsx index d6909dc91..f9f3d9eb7 100644 --- a/src/plugins/showConnections/index.tsx +++ b/src/plugins/showConnections/index.tsx @@ -211,9 +211,9 @@ export default definePlugin({ } }, { - find: /\.BITE_SIZE,onOpenProfile:\i,usernameIcon:/, + find: '"BiteSizeProfileBody"', replacement: { - match: /currentUser:\i,guild:\i,onOpenProfile:.+?}\)(?=])(?<=user:(\i),bio:null==(\i)\?.+?)/, + match: /currentUser:\i,guild:\i}\)(?<=user:(\i),bio:null==(\i)\?.+?)/, replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2, simplified: true })" } }