New message notification doesn't disappear
This commit is contained in:
parent
a672b482f5
commit
b2f99a5516
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user