Skip to content
Snippets Groups Projects
Commit a9b04c45 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix Snippet#participants.

parent c644dd01
No related branches found
No related tags found
1 merge request!528Clean up code around commit mentions.
Pipeline #
Loading
Loading
@@ -138,6 +138,7 @@ class Commit
users = []
users << author
users << committer
mentions = []
mentions << self.mentioned_users(current_user, project)
 
Loading
Loading
Loading
Loading
@@ -122,6 +122,7 @@ module Issuable
users = []
users << author
users << assignee if is_assigned?
mentions = []
mentions << self.mentioned_users(current_user)
 
Loading
Loading
Loading
Loading
@@ -91,6 +91,8 @@ class Snippet < ActiveRecord::Base
users = []
users << author
 
mentions = []
notes.each do |note|
users << note.author
mentions << note.mentioned_users(current_user)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment