When the device supports Notifications and has allowed them, the window visibility is hidden and the message received is not your own.
The notification will include the message senders name, avatar and the text from the message. If you click on the notification it will focus on the window that spawned the notification and switch to the room where the message resides.
Addresses https://github.com/pusher/react-slack-clone/issues/14. Thanks to @DevFlex for kicking this off! A notification is now shown like so:
When the device supports Notifications and has allowed them, the window visibility is hidden and the message received is not your own.
The notification will include the message senders name, avatar and the text from the message. If you click on the notification it will focus on the window that spawned the notification and switch to the room where the message resides.