Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Loading of Older Thread Messages in Thread Message Modal #896

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

smritidoneria
Copy link
Contributor

Brief Title

This pull request addresses the issue where older thread messages are not being loaded in the thread message modal.

Acceptance Criteria fulfillment

  • Updated the getAllThreadMessages function in EmbeddedChatApi.ts to correctly fetch older thread messages.
    -Updated the ChatBody component to correctly use the getAllThreadMessages function from the useFetchChatData hook and update the state.

Fixes #895

Video/Screenshots

Screen.Recording.2025-01-14.at.5.32.42.PM.mov

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-<pr_number> after approval. Contributors are requested to replace <pr_number> with the actual PR number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Older thread messages are not being loaded in the thread message modal
1 participant