diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index 0fa3c691e9..2d4fd39205 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -162,10 +162,10 @@ module.exports = React.createClass({ // sanity check the input for user IDs if (!isEmailAddress && (inputText[0] !== '@' || inputText.indexOf(":") === -1)) { - console.error("Bad user ID to invite: %s", inputText); + console.error("Bad ID to invite: %s", inputText); Modal.createDialog(ErrorDialog, { title: "Invite Error", - description: "Malformed user ID. Should look like '@localpart:domain'" + description: "Malformed ID. Should be an email address or a Matrix ID like '@localpart:domain'" }); return; } @@ -273,7 +273,7 @@ module.exports = React.createClass({ _createOverflowTile: function(overflowCount, totalCount) { // For now we'll pretend this is any entity. It should probably be a separate tile. var EntityTile = sdk.getComponent("rooms.EntityTile"); - var BaseAvatar = sdk.getComponent('avatars.BaseAvatar'); + var BaseAvatar = sdk.getComponent("avatars.BaseAvatar"); var text = "and " + overflowCount + " other" + (overflowCount > 1 ? "s" : "") + "..."; return ( } + className="mx_EntityTile_invitePlaceholder" presenceState="online" onClick={this.onInvite.bind(this, input)} name={label} />, function(query) { return true; // always show this