mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
FEATURE: Let staff add custom post notices. (#7377)
This commit is contained in:
@@ -18,8 +18,8 @@ class WebHookPostSerializer < PostSerializer
|
||||
primary_group_flair_url
|
||||
primary_group_flair_bg_color
|
||||
primary_group_flair_color
|
||||
post_notice_time
|
||||
post_notice_type
|
||||
notice_args
|
||||
notice_type
|
||||
}.each do |attr|
|
||||
define_method("include_#{attr}?") do
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user