From 4d8145f12ccbdcb3383387cc435147c62ec1066a Mon Sep 17 00:00:00 2001
From: Vendicated <vendicated@riseup.net>
Date: Sat, 3 Dec 2022 14:57:51 +0100
Subject: Fix arrpc

---
 src/plugins/arRPC.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/plugins/arRPC.tsx')

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;
 }
 
-- 
cgit 

