Commit a9b04c45 authored by Douwe Maan's avatar Douwe Maan

Fix Snippet#participants.

parent c644dd01
......@@ -138,6 +138,7 @@ class Commit
users = []
users << author
users << committer
mentions = []
mentions << self.mentioned_users(current_user, project)
......
......@@ -122,6 +122,7 @@ module Issuable
users = []
users << author
users << assignee if is_assigned?
mentions = []
mentions << self.mentioned_users(current_user)
......
......@@ -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)
......
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