-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Invite dialog fixes #4304
Invite dialog fixes #4304
Conversation
react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
Outdated
Show resolved
Hide resolved
// HOWEVER: We don't want to show poltergeist or other bot type participants on stage | ||
// automatically, because it's misleading (users may think they are already | ||
// joined and maybe speaking). | ||
for (let i = participants.length; i > 0 && !participant; i--) { |
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.
use array.filter?
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.
We could use that, but not sure if that would help, because that goes through all the elements, and now that we have this reverse order, we can shortcircuit the loop
No description provided.