Commit 42e6e1a7 authored by Eugenia Grieff's avatar Eugenia Grieff

Include mentioned users for private group mentions

parent a9e800e6
...@@ -355,7 +355,7 @@ class IssuableBaseService < BaseService ...@@ -355,7 +355,7 @@ class IssuableBaseService < BaseService
associations = associations =
{ {
labels: issuable.labels.to_a, labels: issuable.labels.to_a,
mentioned_users: issuable.mentioned_users.to_a, mentioned_users: issuable.mentioned_users(current_user).to_a,
assignees: issuable.assignees.to_a assignees: issuable.assignees.to_a
} }
associations[:total_time_spent] = issuable.total_time_spent if issuable.respond_to?(:total_time_spent) associations[:total_time_spent] = issuable.total_time_spent if issuable.respond_to?(:total_time_spent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment