mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 12:45:24 +08:00
UX: Use smaller messages for moderator actions.
This commit is contained in:
@ -68,7 +68,7 @@ class UserActionSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def moderator_action
|
||||
object.post_type == Post.types[:moderator_action]
|
||||
object.post_type == Post.types[:moderator_action] || object.post_type == Post.types[:small_action]
|
||||
end
|
||||
|
||||
def include_reply_to_post_number?
|
||||
|
Reference in New Issue
Block a user