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}
|
chatUserMessageItem={true}
|
||||||
handleReadMessage={(timestamp) => {
|
handleReadMessage={(timestamp) => {
|
||||||
if (!read) {
|
if (!read) {
|
||||||
dispatchLastReadTimestampChanged(dispatch, chatId, timestamp);
|
dispatch({
|
||||||
updateLastReadByPartnerTime(timestamp);
|
type: 'last_read_message_timestamp_changed',
|
||||||
|
value: {
|
||||||
|
chatId,
|
||||||
|
timestamp,
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
scrollArea={scrollArea}
|
scrollArea={scrollArea}
|
||||||
|
Loading…
Reference in New Issue
Block a user