PR feedback
This commit is contained in:
parent
d86fe0df6e
commit
824b29dc1f
2 changed files with 4 additions and 3 deletions
|
@ -90,6 +90,7 @@ export default withMatrixClient(React.createClass({
|
|||
let memberList = this.state.members;
|
||||
if (query) {
|
||||
memberList = memberList.filter((m) => {
|
||||
// TODO: add this when we have this info from the API
|
||||
//const matchesName = m.name.toLowerCase().indexOf(query) !== -1;
|
||||
const matchesId = m.userId.toLowerCase().includes(query);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue