mirror of https://github.com/vector-im/riot-web
Remove done todo
parent
4a36e32c8d
commit
0f9f1c85a8
|
@ -90,7 +90,6 @@ export default withMatrixClient(React.createClass({
|
||||||
let memberList = this.state.members;
|
let memberList = this.state.members;
|
||||||
if (query) {
|
if (query) {
|
||||||
memberList = memberList.filter((m) => {
|
memberList = memberList.filter((m) => {
|
||||||
// TODO: add this when we have this info from the API
|
|
||||||
const matchesName = m.displayname.toLowerCase().indexOf(query) !== -1;
|
const matchesName = m.displayname.toLowerCase().indexOf(query) !== -1;
|
||||||
const matchesId = m.userId.toLowerCase().includes(query);
|
const matchesId = m.userId.toLowerCase().includes(query);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue