You've already forked matrix-react-sdk
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:
@@ -164,6 +164,8 @@ module.exports = React.createClass({
|
|||||||
queryList = this._userList.filter((user) => {
|
queryList = this._userList.filter((user) => {
|
||||||
return this._matches(query, user);
|
return this._matches(query, user);
|
||||||
}).map((user) => {
|
}).map((user) => {
|
||||||
|
// Return objects, structure of which is defined
|
||||||
|
// by InviteAddressType
|
||||||
return {
|
return {
|
||||||
addressType: 'mx',
|
addressType: 'mx',
|
||||||
address: user.userId,
|
address: user.userId,
|
||||||
|
|||||||
Reference in New Issue
Block a user