2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08: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:
Sam 2015-11-30 17:03:47 +11:00
parent 5a7831265a
commit ad3dd161e7
25 changed files with 210 additions and 94 deletions

View file

@ -30,7 +30,7 @@ class Notification < ActiveRecord::Base
@types ||= Enum.new(
:mentioned, :replied, :quoted, :edited, :liked, :private_message,
:invited_to_private_message, :invitee_accepted, :posted, :moved_post,
:linked, :granted_badge, :invited_to_topic, :custom
:linked, :granted_badge, :invited_to_topic, :custom, :group_mentioned
)
end