Skip to content

Commit

Permalink
Fix loading of thread messages after linking to specific thread messa…
Browse files Browse the repository at this point in the history
…ge (#5151)
  • Loading branch information
hpeebles authored Jan 8, 2024
1 parent c708261 commit c2bd2ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export class CommunityClient extends CandidService {
return this.handleMissingEvents(
chatId,
[cachedEvents, missing],
undefined,
threadRootMessageIndex,
latestKnownUpdate,
);
}
Expand Down
6 changes: 5 additions & 1 deletion frontend/openchat-agent/src/services/group/group.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,11 @@ export class GroupClient extends CandidService {
latestKnownUpdate,
).then((resp) => this.setCachedEvents(resp, threadRootMessageIndex));
} else {
return this.handleMissingEvents([cachedEvents, missing], undefined, latestKnownUpdate);
return this.handleMissingEvents(
[cachedEvents, missing],
threadRootMessageIndex,
latestKnownUpdate,
);
}
}

Expand Down

0 comments on commit c2bd2ae

Please sign in to comment.