Skip to content

Commit

Permalink
remove unused notifyMurdered parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
tomholub committed May 28, 2024
1 parent ebcbae0 commit 254ff9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ type WebmailSpecificInfo = {
inject: Injector,
notifications: Notifications,
factory: XssSafeFactory,
notifyMurdered: () => void,
relayManager: RelayManager
) => Promise<void>;
};
Expand Down Expand Up @@ -428,7 +427,7 @@ export const contentScriptSetupIfVacant = async (webmailSpecific: WebmailSpecifi
ppEvent,
Catch.try(() => notifyExpiringKeys(acctEmail, clientConfiguration, notifications))
);
await webmailSpecific.start(acctEmail, clientConfiguration, inject, notifications, factory, notifyMurdered, relayManager);
await webmailSpecific.start(acctEmail, clientConfiguration, inject, notifications, factory, relayManager);
} catch (e) {
if (e instanceof TabIdRequiredError) {
console.error(`FlowCrypt cannot start: ${String(e)}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export class GmailWebmailStartup {
injector: Injector,
notifications: Notifications,
factory: XssSafeFactory,
notifyMurdered: () => void,
relayManager: RelayManager
) => {
this.hijackGmailHotkeys();
Expand Down

0 comments on commit 254ff9b

Please sign in to comment.