Fix invites to groups without names

This commit is contained in:
Luke Barnard
2017-10-19 15:47:52 +01:00
parent e324511143
commit ea1dbe1f76
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ module.exports = React.createClass({
let idx = 0;
const initial = name[0];
if ((initial === '@' || initial === '#') && name[1]) {
if ((initial === '@' || initial === '#' || initial === '+') && name[1]) {
idx++;
}