summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/command.go')
-rw-r--r--api/command.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/command.go b/api/command.go
index 45355f092..7e0708a4d 100644
--- a/api/command.go
+++ b/api/command.go
@@ -254,6 +254,7 @@ func handleResponse(c *Context, w http.ResponseWriter, response *model.CommandRe
} else if response.ResponseType == model.COMMAND_RESPONSE_TYPE_EPHEMERAL && response.Text != "" {
post.Message = response.Text
post.CreateAt = model.GetMillis()
+ post.UserId = c.Session.UserId
SendEphemeralPost(
c.TeamId,
c.Session.UserId,