mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
FIX: sync users bookmark state when splitting topics
This commit is contained in:
parent
978fb61cdf
commit
9c77a18975
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ class PostMover
|
|||
def update_statistics
|
||||
destination_topic.update_statistics
|
||||
original_topic.update_statistics
|
||||
TopicUser.update_post_action_cache(topic_id: original_topic.id, post_action_type: :bookmark)
|
||||
TopicUser.update_post_action_cache(topic_id: destination_topic.id, post_action_type: :bookmark)
|
||||
end
|
||||
|
||||
def update_user_actions
|
||||
|
|
Loading…
Reference in a new issue