diff --git a/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/component.jsx b/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/component.jsx index 4d08d9b5c5..4e39df2c71 100644 --- a/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/time-window-list/time-window-chat-item/component.jsx @@ -266,8 +266,13 @@ class TimeWindowChatItem extends PureComponent { chatUserMessageItem={true} handleReadMessage={(timestamp) => { if (!read) { - dispatchLastReadTimestampChanged(dispatch, chatId, timestamp); - updateLastReadByPartnerTime(timestamp); + dispatch({ + type: 'last_read_message_timestamp_changed', + value: { + chatId, + timestamp, + }, + }); } }} scrollArea={scrollArea}