[#200] fix sending message to pull assignee
This commit is contained in:
parent
38ced2c998
commit
d692b6d450
|
@ -35,12 +35,11 @@ module Modules::Observers::ActivityFeed::Issue
|
|||
}
|
||||
)
|
||||
end
|
||||
# dont remove outdated issues link
|
||||
Comment.create_link_on_issues_from_item(self)
|
||||
end
|
||||
|
||||
def send_assign_notifications(action = :create)
|
||||
if assignee_id && assignee_id_changed?
|
||||
if(action == :create && assignee_id) || assignee_id_changed?
|
||||
if assignee.notifier.issue_assign && assignee.notifier.can_notify
|
||||
UserMailer.issue_assign_notification(self, assignee).deliver
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue