mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: Don't update the last poster when a whisper is made
This commit is contained in:
@ -273,6 +273,8 @@ class PostCreator
|
||||
end
|
||||
|
||||
def update_topic_stats
|
||||
return if @post.post_type == Post.types[:whisper]
|
||||
|
||||
attrs = {
|
||||
last_posted_at: @post.created_at,
|
||||
last_post_user_id: @post.user_id,
|
||||
|
Reference in New Issue
Block a user