We will want to include results from user search endpoint in web and native chat composers. This diff adds an option to getPotentialMemberItems to include additional users from the endpoint.
Details
Details
Tested if the user are returned correctly (that are not in user store) are returned correctly
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/shared/search-utils.js | ||
---|---|---|
35–42 ↗ | (On Diff #27154) | At this point we probably should refactor this function to take an object of params instead of a list of them |
Comment Actions
Change the function to take a object of params, fix
lib/shared/search-utils.js | ||
---|---|---|
120–123 ↗ | (On Diff #27154) | Fair point, not sure why flow is returning an error here (flow playground). In any case this should never happen because GlobalAccountUserInfo will only exist when text !=== '' (there's a search). I've changed it to userInfo?.relationshipStatus. |