mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
allow end user to recover a post they delete
automatically delete stubs after 1 day
This commit is contained in:
@ -41,7 +41,8 @@ class PostSerializer < BasicPostSerializer
|
||||
:hidden_reason_id,
|
||||
:trust_level,
|
||||
:deleted_at,
|
||||
:deleted_by
|
||||
:deleted_by,
|
||||
:user_deleted
|
||||
|
||||
|
||||
def moderator?
|
||||
|
Reference in New Issue
Block a user