@cometchat/chat-uikit-react-native 5.3.1 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1113,9 +1113,10 @@ export const CometChatMessageList = memo(
|
|
|
1113
1113
|
|
|
1114
1114
|
} else {
|
|
1115
1115
|
for (let index = 0; index < previousMessagesFetched.length; index++) {
|
|
1116
|
+
const message=previousMessagesFetched[index];
|
|
1116
1117
|
CometChat.markAsRead(message).catch((error: any) => {
|
|
1117
1118
|
console.log("Error marking message as read", error);
|
|
1118
|
-
})
|
|
1119
|
+
})
|
|
1119
1120
|
if (
|
|
1120
1121
|
message &&
|
|
1121
1122
|
!message.hasOwnProperty("readAt") &&
|