Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/pages/client/ClientNonUIFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function InviteNotifications() {

const playSound = useCallback(() => {
const audioElement = audioRef.current;
audioElement?.play();
audioElement?.play().catch(() => {});
clearMediaSessionQuickly();
Comment on lines 199 to 201
}, []);

Expand Down Expand Up @@ -271,7 +271,7 @@ function MessageNotifications() {

const playSound = useCallback(() => {
const audioElement = audioRef.current;
audioElement?.play();
audioElement?.play().catch(() => {});
clearMediaSessionQuickly();
Comment on lines 273 to 275
}, []);

Expand Down
Loading