Need cto push the actual userId not the toLowerCase version, as userId's are case sensitive

pull/21833/head
wmwragg 2016-09-12 17:38:32 +01:00
parent 5a0a72ee46
commit 96299e864a
1 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ module.exports = React.createClass({
onSelected: function(index) {
var inviteList = this.state.inviteList.slice();
inviteList.push(this.state.queryList[index].userId.toLowerCase());
inviteList.push(this.state.queryList[index].userId);
this.setState({
inviteList: inviteList,
queryList: [],
@ -219,7 +219,7 @@ module.exports = React.createClass({
query = query.toLowerCase();
// dount match any that are already on the invite list
if (this._isOnInviteList(uid)) {
if (this._isOnInviteList(uid).toLowerCase()) {
return false;
}