aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-05-11 02:28:12 +0200
committerV <vendicated@riseup.net>2023-05-11 02:35:05 +0200
commitd1ad6c47a7638117970431b64db0b8513073d5b0 (patch)
tree866cb864d06289ed15dde332cbce91c8e9234092 /src/plugins
parentd5c35055f3f83efb7b72f1b028789e829c0a723b (diff)
downloadVencord-d1ad6c47a7638117970431b64db0b8513073d5b0.tar.gz
Vencord-d1ad6c47a7638117970431b64db0b8513073d5b0.tar.bz2
Vencord-d1ad6c47a7638117970431b64db0b8513073d5b0.zip
Fix ServerListAPI
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/apiServerList.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/apiServerList.ts b/src/plugins/apiServerList.ts
index 77498ac..6585d38 100644
--- a/src/plugins/apiServerList.ts
+++ b/src/plugins/apiServerList.ts
@@ -32,7 +32,7 @@ export default definePlugin({
}
},
{
- find: "Messages.SERVERS",
+ find: "Messages.SERVERS,children",
replacement: {
match: /(Messages\.SERVERS,children:)(.+?default:return null\}\}\)\))/,
replace: "$1Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($2)"