aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-12-03 14:57:51 +0100
committerVendicated <vendicated@riseup.net>2022-12-03 14:58:00 +0100
commit4d8145f12ccbdcb3383387cc435147c62ec1066a (patch)
tree4607d6d54bd6252915814db437ad45dc52c3fa80 /src
parentd4f70218ba1c76846016f5e4f8eb36577a3314d4 (diff)
downloadVencord-4d8145f12ccbdcb3383387cc435147c62ec1066a.tar.gz
Vencord-4d8145f12ccbdcb3383387cc435147c62ec1066a.tar.bz2
Vencord-4d8145f12ccbdcb3383387cc435147c62ec1066a.zip
Fix arrpc
Diffstat (limited to 'src')
-rw-r--r--src/plugins/arRPC.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/arRPC.tsx b/src/plugins/arRPC.tsx
index cba3504..ca94a0e 100644
--- a/src/plugins/arRPC.tsx
+++ b/src/plugins/arRPC.tsx
@@ -30,7 +30,7 @@ const assetManager = mapMangledModuleLazy(
}
);
-const rpcManager = findByCodeLazy(".APPLICATION_RPC(");
+const lookupRpcApp = findByCodeLazy(".APPLICATION_RPC(");
async function lookupAsset(applicationId: string, key: string): Promise<string> {
return (await assetManager.getAsset(applicationId, [key, undefined]))[0];
@@ -39,7 +39,7 @@ async function lookupAsset(applicationId: string, key: string): Promise<string>
const apps: any = {};
async function lookupApp(applicationId: string): Promise<string> {
const socket: any = {};
- await rpcManager.lookupApp(socket, applicationId);
+ await lookupRpcApp(socket, applicationId);
return socket.application;
}