Picking the top of the queryList not _userList, as the queryList is the query filtered _userList

This commit is contained in:
wmwragg 2016-09-05 17:34:20 +01:00
parent 3dd84e2b8a
commit 5ed680e5ce
2 changed files with 4 additions and 2 deletions

View file

@ -37,6 +37,8 @@ module.exports = React.createClass({
},
render: function() {
console.log("### D E B U G - user:");
console.log(this.props.user);
var BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
var TintableSvg = sdk.getComponent("elements.TintableSvg");
var name = this.props.user.displayName || this.props.user.userId