When a notification is about to be sent, active clients should get an event that there are pending notifications, allowing them to cancel it within a certain timeframe (3 seconds?), if the client is open and in focus.
This is to prevent unnecessary notifications to be sent to other devices such as mobile phones while you are being active on desktop.
Issue
When a notification is about to be sent, active clients should get an event that there are pending notifications, allowing them to cancel it within a certain timeframe (3 seconds?), if the client is open and in focus.
This is to prevent unnecessary notifications to be sent to other devices such as mobile phones while you are being active on desktop.