fix: Apply file type filter/search function correctly in groups and direct chats #35091
+31
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes (including videos or screenshots)
This PR fixes an issue where the file type filter in group chats was not working correctly. Previously, selecting a file type from the dropdown would display all files instead of filtering based on the selected type. This update ensures that only the selected file type is displayed.
Test.-.Singha.-.Brave.2025-02-02.17-49-51.mp4
Now Search in groups works fine...
Test.-.Singha.-.Brave.2025-02-03.10-50-16.mp4
In case of file search and filtering in direct messages
rajesh.-.Singha.-.Brave.2025-02-03.11-46-01.mp4
Issue(s)
Closes #34930 #35090
Steps to test or reproduce
Further comments