diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index d58a5df25c..7990b71bd7 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -312,11 +312,18 @@ module.exports = React.createClass({ onSearchQueryChanged: function(input) { var EntityTile = sdk.getComponent("rooms.EntityTile"); + + var label; + if (input[0] === "@") { + label = input; + } + else { + label = "Email: " + input; + } + this._emailEntity = new Entities.newEntity( - , + , function(query) { return true; // always show this }