Fix invites to groups without names
This commit is contained in:
parent
e324511143
commit
ea1dbe1f76
2 changed files with 6 additions and 8 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue