(+) Fix onEnter send + impossible to send empty messages (+) Opening of chat window into separate function. openConversation(key, click) if opened by user click = true. Else false (to make sure notifications work as expected) (+) addNotificationCount(key, unread_count) : adds notifications. (TODO: check if unread) (+) removeNotificationCount(key) : removes notifications (TODO: mark all messages as READ in JS)
(+) Fix onEnter send + impossible to send empty messages
(+) Opening of chat window into separate function. openConversation(key, click) if opened by user click = true. Else false (to make sure notifications work as expected)
(+) addNotificationCount(key, unread_count) : adds notifications. (TODO: check if unread)
(+) removeNotificationCount(key) : removes notifications (TODO: mark all messages as READ in JS)

TODO:
(+) onClick of chat window call removeNotificationCount!

shadowproject/Shadow-UI,shadowproject/Shadow-UI,shadowproject/Shadow-UI