From 71de7987c6e62aa82551407bfef95a49b88c6c4d Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 26 Mar 2018 21:50:19 -0600 Subject: [PATCH] Appease the linter --- src/neb/NebProxy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/neb/NebProxy.ts b/src/neb/NebProxy.ts index f5e9137..555e332 100644 --- a/src/neb/NebProxy.ts +++ b/src/neb/NebProxy.ts @@ -134,8 +134,8 @@ export class NebProxy { currentConfig = await client.getServiceConfig(notifUser.serviceId); if (feedUrls.length === 0) { - const client = new MatrixAppserviceClient(await AppserviceStore.getAppservice(this.neb.appserviceId)); - await client.leaveRoom(notifUser.appserviceUserId, roomId); + const appserviceClient = new MatrixAppserviceClient(await AppserviceStore.getAppservice(this.neb.appserviceId)); + await appserviceClient.leaveRoom(notifUser.appserviceUserId, roomId); } }