Skip to content

fix(api): remove deprecated query/fields params, filter threads client-side#1175

Closed
Aryan-Verma-999 wants to merge 1 commit into
RocketChat:developfrom
Aryan-Verma-999:fix/remove-deprecated-query-fields-params
Closed

fix(api): remove deprecated query/fields params, filter threads client-side#1175
Aryan-Verma-999 wants to merge 1 commit into
RocketChat:developfrom
Aryan-Verma-999:fix/remove-deprecated-query-fields-params

Conversation

@Aryan-Verma-999

@Aryan-Verma-999 Aryan-Verma-999 commented Mar 1, 2026

Copy link
Copy Markdown
Contributor

The query and fields URL parameters for REST API endpoints were deprecated in RC 5.0, disabled by default in RC 7.0, and are scheduled for removal in RC 9.0. EmbeddedChat was passing MongoDB query operators ($exists) via these params to filter thread messages server-side.

This removes all query/fields usage from getMessages() and getOlderMessages() and moves thread filtering client-side (!msg.tmid).

Reference: RC Deprecated Features

PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-1175 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.

1 participant