Skip to content

Conversation

@nickvergessen
Copy link
Member

Signed-off-by: Joas Schilling [email protected]

&& this.webNotificationsGranted
&& this.userStatus !== 'dnd'
&& this.tabId !== this.lastTabId
&& this.tabId === this.lastTabId
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

due to this.lastTabId = response.lastTabId in the second part of the diff in this file, we always compared <tabid> !== undefined which was always true and therefor multiple tabs gave multiple desktop notifications again.

@nickvergessen nickvergessen requested a review from rullzer March 29, 2021 12:57
@nickvergessen nickvergessen merged commit 29333e5 into master Mar 29, 2021
@nickvergessen nickvergessen deleted the bugfix/noid/only-send-desktop-notifications-on-one-tab branch March 29, 2021 16:37
@nickvergessen
Copy link
Member Author

/backport to stable21

@nickvergessen
Copy link
Member Author

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants