Skip to content

Commit fe1124f

Browse files
committed
Added all to mentions
1 parent ac22801 commit fe1124f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/assets/javascripts/backbone/plugins/mentions.coffee

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class Kandan.Plugins.Mentions
1818
return Kandan.Helpers.Activities.buildFromMessageTemplate(message)
1919

2020
@initUsersMentions: (activeUsers)->
21-
users = _.map activeUsers, (user)->
22-
user.username
23-
24-
$(".chat-input").atwho("@", {data: users});
25-
return
21+
users = _.map activeUsers, (user)->
22+
user.username
23+
users.push "all"
24+
$(".chat-input").atwho("@", {data: users})
25+
return

0 commit comments

Comments
 (0)