streembit / streembitui

Decentralized, P2P communication system
GNU General Public License v3.0
13 stars 9 forks source link

Message notification Logic #197

Closed HelloChrome closed 6 years ago

HelloChrome commented 6 years ago

Currently when a user is chatting with another contact in the chat view, the notification panel continues to populate with the messages from the contact communicating the open chat window. Correct operation should be that once the user has opened the chat view the new messages from the contact in the conversation shouldn't populate the notification panel, unless the user has navigated away from the chat window. If another second contact starts messaging the user, then their messages should populate the message notification panel.

HelloChrome commented 6 years ago

In addition, to the current issue, - the 'audio' notification requires checking and testing as the initial notification of an incoming message doesn't sound until the message is opened, and then when the user is in another tab in the browser the notification continues to work as designed. The initial audio notification needs to work for the 1st incoming message, when the user is in another view or tab in the browser.