-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 user autocomplete not showing users not in channel #7980
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @larkox - this is fixed. I can see users who are not members of the channel.
Noting: the users who are not in channel are not displayed in a separate section headed NOT IN CHANNEL as is the case on webapp
If we are happy with this discrepancy, I'm approving
Cherry pick is scheduled. |
(cherry picked from commit 9628e15)
Summary
We were always getting the users from the database on user autocomplete, which may not have all the information.
We fix that by appending at the end the rest of the users received from the API.
Ticket Link
https://mattermost.atlassian.net/browse/MM-58504
Release Note
Issue introduced probably by #7506 , which (I think) never made it to production.