From c7bdce8a6641ed8d361a43b6004a351535c78423 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 4 Apr 2017 11:54:52 -0400 Subject: PLT-5900 Removed automatic configuration of SiteURL (#5952) * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict --- app/command_msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/command_msg.go') diff --git a/app/command_msg.go b/app/command_msg.go index 06b17fdc4..fd4ace61a 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, args.SiteURL); err != nil { + if _, err := CreatePost(post, args.TeamId, true); err != nil { return &model.CommandResponse{Text: args.T("api.command_msg.fail.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} } } -- cgit v1.2.3-1-g7c22