Usernames should be able to include dots (.)

This commit is contained in:
Jonas Oberg 2017-08-25 08:22:20 +02:00
parent 1b40c42cab
commit fe5ea60847
3 changed files with 4 additions and 4 deletions

View file

@ -180,7 +180,7 @@ BlazeComponent.extendComponent({
$textarea.escapeableTextComplete([
// User mentions
{
match: /\B@(\w*)$/,
match: /\B@([\w.]*)$/,
search(term, callback) {
const currentBoard = Boards.findOne(Session.get('currentBoard'));
callback($.map(currentBoard.activeMembers(), (member) => {