FIX: Allow editing post that belongs to deleted topic
This commit is contained in:
parent
2e1b5bc8d3
commit
3464b05e41
|
@ -97,6 +97,7 @@ class PostActionNotifier
|
|||
return unless post
|
||||
return if post_revision.user.blank?
|
||||
return if post_revision.user_id == post.user_id
|
||||
return if post.topic.blank?
|
||||
return if post.topic.private_message?
|
||||
return if SiteSetting.disable_edit_notifications && post_revision.user_id == Discourse::SYSTEM_USER_ID
|
||||
|
||||
|
|
Loading…
Reference in New Issue