Revert/Fix PLT-2805 (#3873)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
167dd22eef
Коммит
d252e61c66
@@ -85,7 +85,7 @@ func (me *msgProvider) DoCommand(c *Context, channelId string, message string) *
|
||||
post.Message = parsedMessage
|
||||
post.ChannelId = targetChannelId
|
||||
post.UserId = c.Session.UserId
|
||||
if _, err := CreatePost(c.TeamId, post, true); err != nil {
|
||||
if _, err := CreatePost(c, post, true); err != nil {
|
||||
return &model.CommandResponse{Text: c.T("api.command_msg.fail.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL}
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user