From 7cee7b3342afa4b6845b0574f90c9fdc586c3c34 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 5 Sep 2017 19:20:47 -0500 Subject: PLT-7300: Add use_user_icon prop to allow bots to just use their user icon (#7381) * add use_user_icon prop to allow bots to just use their user icon * revert unintentional change --- app/plugin/jira/plugin.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/plugin') diff --git a/app/plugin/jira/plugin.go b/app/plugin/jira/plugin.go index 94922321c..ad4ef6ac0 100644 --- a/app/plugin/jira/plugin.go +++ b/app/plugin/jira/plugin.go @@ -69,8 +69,9 @@ func (p *Plugin) handleWebhook(w http.ResponseWriter, r *http.Request) { Type: model.POST_SLACK_ATTACHMENT, UserId: user.Id, Props: map[string]interface{}{ - "from_webhook": "true", - "attachments": []*model.SlackAttachment{attachment}, + "from_webhook": "true", + "use_user_icon": "true", + "attachments": []*model.SlackAttachment{attachment}, }, }); err != nil { http.Error(w, p.api.I18n(err.Message, r), err.StatusCode) -- cgit v1.2.3-1-g7c22