Remove typing for blocklist on window. Minor formatting

pull/2174/head
warrickct 3 years ago
parent 4f4aef6b97
commit 3424fa88e8

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

2
ts/window.d.ts vendored

@ -74,7 +74,5 @@ declare global {
setStartInTray: (val: boolean) => Promise<void>;
getStartInTray: () => Promise<boolean>;
libsession: any;
getOpenGroupBlockList: () => Array<string>;
openGroupBlockList: Array<string>;
}
}

Loading…
Cancel
Save