mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
work in progress, live unread / new counters
This commit is contained in:
@ -576,6 +576,10 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def user_tracking_states
|
||||
UserTrackingState.report([self.id])
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def cook
|
||||
|
Reference in New Issue
Block a user