CLOSE_CHAT action calls notifyChatUpdated with the isOpen flag set to false, previously was always true even when closing

This commit is contained in:
HippyJim 2021-06-03 15:32:07 +01:00 committed by Дамян Минков
parent 1b200abaa7
commit 8dbb392d85
1 changed files with 1 additions and 1 deletions

View File

@ -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());