diff options
Diffstat (limited to 'app/command_msg.go')
-rw-r--r-- | app/command_msg.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_msg.go b/app/command_msg.go index fd4ace61a..06b17fdc4 100644 --- a/app/command_msg.go +++ b/app/command_msg.go @@ -89,7 +89,7 @@ func (me *msgProvider) DoCommand(args *model.CommandArgs, message string) *model post.Message = parsedMessage post.ChannelId = targetChannelId post.UserId = args.UserId - if _, err := CreatePost(post, args.TeamId, true); err != nil { + if _, err := CreatePost(post, args.TeamId, true, args.SiteURL); err != nil { return &model.CommandResponse{Text: args.T("api.command_msg.fail.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} } } |