项目讨论区

This commit is contained in:
huang 2015-08-19 11:21:48 +08:00
parent d657e9f3cc
commit 2d282f73cb
1 changed files with 0 additions and 1 deletions

View File

@ -232,7 +232,6 @@ class Message < ActiveRecord::Base
self.project.members.each do |m|
if m.user_id == Message.find(self.parent_id).author_id && m.user_id != self.author_id # 只针对主贴回复,回复自己的帖子不发消息
self.forge_messages << ForgeMessage.new(:user_id => m.user_id, :project_id => self.board.project_id, :viewed => false)
self.forge_messages << ForgeMessage.new(:user_id => m.user_id, :project_id => self.board.project_id, :viewed => false)
end
end
end