mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05: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