Skip to content

Commit

Permalink
fix: original message (#5734)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 authored May 24, 2024
1 parent 034b77a commit 4a35d7e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,11 @@ export const contentScriptSetupIfVacant = async (webmailSpecific: WebmailSpecifi

const entrypoint = async () => {
try {
// Do not try to show decrypted content for original message content view
if (location.href.includes('/popout') || location.href.includes('view=om')) {
console.info('Showing original message');
return;
}
const acctEmail = await waitForAcctEmail();
const { tabId, notifications, factory, inject } = await initInternalVars(acctEmail);
await showNotificationsAndWaitTilAcctSetUp(acctEmail, notifications);
Expand Down

0 comments on commit 4a35d7e

Please sign in to comment.