mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
@@ -58,7 +58,7 @@ class PostJobsEnqueuer
|
||||
|
||||
def after_post_create
|
||||
if @post.post_number > 1
|
||||
TopicTrackingState.publish_muted(@post)
|
||||
TopicTrackingState.publish_muted(@post.topic)
|
||||
TopicTrackingState.publish_unread(@post)
|
||||
end
|
||||
TopicTrackingState.publish_latest(@topic, @post.whisper?)
|
||||
|
||||
Reference in New Issue
Block a user