diff --git a/packages/hms-video-store/src/reactive-store/HMSSDKActions.ts b/packages/hms-video-store/src/reactive-store/HMSSDKActions.ts index 5fc292b07b..bd78ee79ee 100644 --- a/packages/hms-video-store/src/reactive-store/HMSSDKActions.ts +++ b/packages/hms-video-store/src/reactive-store/HMSSDKActions.ts @@ -415,6 +415,10 @@ export class HMSSDKActions { + store.messages.byID[hmsMessage.id] = hmsMessage; + store.messages.allIDs.push(hmsMessage.id); + }, 'newMessage'); } setMessageRead(readStatus: boolean, messageId?: string) {