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
Picking the top of the queryList not _userList, as the queryList is the query filtered _userList
This commit is contained in:
@@ -158,9 +158,9 @@ module.exports = React.createClass({
|
||||
var query;
|
||||
if (this.state.addressSelected) {
|
||||
var AddressTile = sdk.getComponent("elements.AddressTile");
|
||||
// NOTE: _userList[0] is just a place holder until the selection logic is completed
|
||||
// NOTE: this.state.queryList[0] is just a place holder until the selection logic is completed
|
||||
query = (
|
||||
<AddressTile user={this._userList[0]} canDismiss={true} onDismissed={this.onDismissed} />
|
||||
<AddressTile user={this.state.queryList[0]} canDismiss={true} onDismissed={this.onDismissed} />
|
||||
);
|
||||
} else {
|
||||
query = (
|
||||
|
||||
Reference in New Issue
Block a user