From a9b04c4536ef55072f8ff763e85a30099941a1c6 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 15 Apr 2015 18:59:01 +0200 Subject: Fix Snippet#participants. --- app/models/snippet.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/snippet.rb') diff --git a/app/models/snippet.rb b/app/models/snippet.rb index c53d2a8d603..13703f4115f 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -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) -- cgit v1.2.1