mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: first class group mentions built in
If you allow a group to be mentioned it can be mentioned with the @ symbol. Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
This commit is contained in:
@@ -202,7 +202,7 @@ test("Quotes", function() {
|
||||
|
||||
test("Mentions", function() {
|
||||
|
||||
var alwaysTrue = { mentionLookup: (function() { return true; }) };
|
||||
var alwaysTrue = { mentionLookup: (function() { return "user"; }) };
|
||||
|
||||
cookedOptions("Hello @sam", alwaysTrue,
|
||||
"<p>Hello <a class=\"mention\" href=\"/users/sam\">@sam</a></p>",
|
||||
|
||||
Reference in New Issue
Block a user