mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 13:17:52 +08:00
FIX: the muted message should be sent after edit (#9593)
Recently, we added feature that we are sending `/muted` to users who muted specific topic just before `/latest` so the client knows to ignore those messages - https://github.com/discourse/discourse/pull/9482 Same `/muted` message should be included when the post is edited
This commit is contained in:

committed by
GitHub

parent
d615de9139
commit
37e93914fc
@ -523,6 +523,7 @@ class PostRevisor
|
||||
def bump_topic
|
||||
return if bypass_bump? || !is_last_post?
|
||||
@topic.update_column(:bumped_at, Time.now)
|
||||
TopicTrackingState.publish_muted(@topic)
|
||||
TopicTrackingState.publish_latest(@topic)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user