mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: support for custom notification types
used by solved plugin
This commit is contained in:
@@ -31,7 +31,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
|
||||
:linked, :granted_badge, :invited_to_topic, :custom
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user