1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Point to InviteAddressType

This commit is contained in:
David Baker
2017-01-25 15:03:01 +00:00
parent fd8d5af63a
commit e9804086ca

View File

@@ -164,6 +164,8 @@ module.exports = React.createClass({
queryList = this._userList.filter((user) => {
return this._matches(query, user);
}).map((user) => {
// Return objects, structure of which is defined
// by InviteAddressType
return {
addressType: 'mx',
address: user.userId,