Inviting peers to join a chat group requires each username to be preceded by @, however no hint is provided to user about this requirement. Trying to invite without @ causes a strange error:
Can't invite null to *fgdfgdgdfgdgdfg group...
User is left stuck with the problem.
Of course, this is a issue with twister_directmsg.js around line 489:
var peersToInvite = elemInput.val().toLowerCase().match(/@\w+/g);
if (peersToInvite)
peersToInvite = peersToInvite.join('').slice(1).split('@');
It seems a bit too strict about requiring @. Maybe an alternative syntax with space or comas as separators should be accepted as well.
Inviting peers to join a chat group requires each username to be preceded by @, however no hint is provided to user about this requirement. Trying to invite without @ causes a strange error:
Can't invite null to *fgdfgdgdfgdgdfg group...
User is left stuck with the problem.
Of course, this is a issue with
twister_directmsg.js
around line 489:It seems a bit too strict about requiring @. Maybe an alternative syntax with space or comas as separators should be accepted as well.