Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into Design-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Jan 21, 2025
2 parents e2a44be + 92c5f6d commit 49cba8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plugnmeet-client",
"version": "1.6.11-5",
"version": "1.6.11-6",
"author": "Jibon L. Costa",
"license": "MIT",
"scripts": {
Expand Down
7 changes: 6 additions & 1 deletion src/components/main-area/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,14 @@ const MainArea = () => {

// ask for notification permission
// we'll not bother if permission was rejected before
if ('Notification' in window && Notification.permission !== 'denied') {
if (
!isRecorder &&
'Notification' in window &&
Notification.permission !== 'denied'
) {
Notification.requestPermission().then();
}
//eslint-disable-next-line
}, [dispatch]);

useEffect(() => {
Expand Down

0 comments on commit 49cba8c

Please sign in to comment.