CLOSE_CHAT action calls notifyChatUpdated with the isOpen flag set to false, previously was always true even when closing
This commit is contained in:
parent
1b200abaa7
commit
8dbb392d85
|
@ -104,7 +104,7 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
unreadCount = 0;
|
||||
|
||||
if (typeof APP !== 'undefined') {
|
||||
APP.API.notifyChatUpdated(unreadCount, true);
|
||||
APP.API.notifyChatUpdated(unreadCount, false);
|
||||
}
|
||||
|
||||
dispatch(setActiveModalId());
|
||||
|
|
Loading…
Reference in New Issue