Your Rocket.Chat version: v31

If you are signed in on two / three different computers wouldn't you expect to get a notification on all computers?
Solvable using shared workers or service workers. For me it is also not uncommon to have multiple rocket chat windows/tabs open (even by accident) - so I'd second, the current behavior is a bit confusing. Moving the display of messages to a worker would also have the benefit that we could start using the Push API - allow us to receive notifications even if there is NO rocket.chat tab open.
Notification.tag could be used to minimize this issue. The browser will receive multiple notifications with the same tag, but will show only the last.
@rodorgas I was un-aware of this tag. Thanks for sharing. I'm sure adding this would require significantly less work then adding service worker.
Not to say we don't want to add service worker. Its just too big of a chunk to bite off right now :grin:
Most helpful comment
Solvable using shared workers or service workers. For me it is also not uncommon to have multiple rocket chat windows/tabs open (even by accident) - so I'd second, the current behavior is a bit confusing. Moving the display of messages to a worker would also have the benefit that we could start using the Push API - allow us to receive notifications even if there is NO rocket.chat tab open.