mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
emoji should not be coupled into the core
avatars were being counted and should not have been for basic users
This commit is contained in:
parent
bdba0a78c4
commit
99526c33da
3 changed files with 23 additions and 6 deletions
|
@ -9,8 +9,9 @@ module DiscourseEmoji
|
|||
|
||||
app.config.after_initialize do
|
||||
DiscoursePluginRegistry.setup(DiscourseEmoji::Plugin)
|
||||
Post.white_listed_image_classes << "emoji"
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue