修改issue更新消息重复提示的问题
This commit is contained in:
parent
745a32b684
commit
8c84179650
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue