mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 05:26:02 +08:00
work in progress, live unread / new counters
This commit is contained in:
@ -14,6 +14,8 @@ class CurrentUserSerializer < BasicUserSerializer
|
||||
:external_links_in_new_tab,
|
||||
:trust_level
|
||||
|
||||
has_many :user_tracking_states, serializer: UserTrackingStateSerializer, embed: :objects
|
||||
|
||||
# we probably want to move this into site, but that json is cached so hanging it off current user seems okish
|
||||
|
||||
def include_site_flagged_posts_count?
|
||||
|
Reference in New Issue
Block a user