修改issue更新消息重复提示的问题

This commit is contained in:
huang 2015-09-25 17:52:34 +08:00
parent 745a32b684
commit 8c84179650
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class JournalReply < ActiveRecord::Base
replier = User.find(self.reply_id)
receivers = []
# 被回复的人发送消息
if journal.user_id != self.reply_id && self.reply_id != journal.issue.author_id
if journal.user_id != self.reply_id && self.reply_id != journal.issue.author_id && self.reply_id != journal.issue.assigned_to_id
receivers << replier
end
if journal.user_id != journal.issue.author_id && self.reply_id != journal.issue.author_id