Skip to content

Commit

Permalink
Merge pull request #11 from Loren-Wang/dev/groupMessage
Browse files Browse the repository at this point in the history
修改历史消息获取逻辑
  • Loading branch information
FocusOnWrittingBug authored Jul 2, 2024
2 parents f368b0c + 9a3831c commit 13c4708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/im/wrapper/agora-chat-room-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ export class FcrChatRoomItem extends AgoraIMBase {
for (const element of privateMsg.data.list) {
allMsg.set(element.msgId, element);
}
this._classRoomConnection.mr_cache = [];
const groupMsg = await this._classRoomConnection.fetchHistoryMessages({
queue: this._currentChatRoomId,
isGroup: true,
Expand Down

0 comments on commit 13c4708

Please sign in to comment.