From 3424fa88e8d0421e575009d41331ebef2634cfec Mon Sep 17 00:00:00 2001 From: warrickct Date: Tue, 8 Mar 2022 16:47:34 +1100 Subject: [PATCH] Remove typing for blocklist on window. Minor formatting --- ts/receiver/configMessage.ts | 4 +--- ts/window.d.ts | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ts/receiver/configMessage.ts b/ts/receiver/configMessage.ts index 02d3293cd..b2283039b 100644 --- a/ts/receiver/configMessage.ts +++ b/ts/receiver/configMessage.ts @@ -62,9 +62,7 @@ async function handleGroupsAndContactsFromConfigMessage( (lastConfigTimestamp && lastConfigTimestamp < _.toNumber(envelope.timestamp)); if (!isNewerConfig) { - window?.log?.info( - 'Received outdated configuration message... Dropping message.' - ); + window?.log?.info('Received outdated configuration message... Dropping message.'); return; } diff --git a/ts/window.d.ts b/ts/window.d.ts index 85417105c..a075e8a5b 100644 --- a/ts/window.d.ts +++ b/ts/window.d.ts @@ -74,7 +74,5 @@ declare global { setStartInTray: (val: boolean) => Promise; getStartInTray: () => Promise; libsession: any; - getOpenGroupBlockList: () => Array; - openGroupBlockList: Array; } }