diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-03-31 09:54:46 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-03-31 09:54:46 -0400 |
commit | 980419b37cb1a329cc694213b2648b5919e4902c (patch) | |
tree | db8883ed76dbb0069134538fb6ed8c9a6996ecbc /api | |
parent | 43aa7e4c792b5ee2cbda4c853eeed4fadb8a93b3 (diff) | |
download | chat-980419b37cb1a329cc694213b2648b5919e4902c.tar.gz chat-980419b37cb1a329cc694213b2648b5919e4902c.tar.bz2 chat-980419b37cb1a329cc694213b2648b5919e4902c.zip |
Update webhook posts to never show in collapsed view
Diffstat (limited to 'api')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/post.go b/api/post.go index 36fd4ee79..2fe5feb8e 100644 --- a/api/post.go +++ b/api/post.go @@ -172,8 +172,6 @@ func CreateWebhookPost(c *Context, channelId, text, overrideUsername, overrideIc if utils.Cfg.ServiceSettings.EnablePostIconOverride { if len(overrideIconUrl) != 0 { post.AddProp("override_icon_url", overrideIconUrl) - } else { - post.AddProp("override_icon_url", model.DEFAULT_WEBHOOK_ICON) } } |