Skip to content

Pings/notifications can fail if the user doesn't interact with the document first #7657

@turt2live

Description

@turt2live
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

This lead to me not having badges for unread messages or pings in the room list. At the very least, we should try our best to display that there was a notification even if we can't play the sound.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions