mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix the 'PostMover' spec.
This commit is contained in:
@@ -232,6 +232,11 @@ class Notification < ActiveRecord::Base
|
||||
Post.where(topic: topic_id, post_number: post_number).pluck_first(:id)
|
||||
end
|
||||
|
||||
def reload(options = nil)
|
||||
super
|
||||
@data_hash = nil
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def refresh_notification_count
|
||||
|
Reference in New Issue
Block a user