mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: group avatar flair shows on topic participants list, and participant avatars can have custom styles
This commit is contained in:
@@ -280,7 +280,7 @@ class TopicView
|
||||
def participants
|
||||
@participants ||= begin
|
||||
participants = {}
|
||||
User.where(id: post_counts_by_user.map {|k,v| k}).each {|u| participants[u.id] = u}
|
||||
User.where(id: post_counts_by_user.map {|k,v| k}).includes(:primary_group).each {|u| participants[u.id] = u}
|
||||
participants
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user