pullrequest发送消息
This commit is contained in:
parent
2cee4448ea
commit
9fa4b5613a
|
@ -296,7 +296,7 @@ class PullRequestsController < ApplicationController
|
|||
|
||||
private
|
||||
def send_message user_id, project_id, pull_request_id
|
||||
self.forge_acts << ForgeMessage.new(:user_id => user_id, :project_id => project_id,
|
||||
ForgeMessage.create(:user_id => user_id, :project_id => project_id,
|
||||
:forge_message_id => pull_request_id, :forge_message_type => "PullRequest", :viewed => true)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue