summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2016-03-31 09:54:46 -0400
committerJoramWilander <jwawilander@gmail.com>2016-03-31 09:54:46 -0400
commit980419b37cb1a329cc694213b2648b5919e4902c (patch)
treedb8883ed76dbb0069134538fb6ed8c9a6996ecbc /api
parent43aa7e4c792b5ee2cbda4c853eeed4fadb8a93b3 (diff)
downloadchat-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.go2
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)
}
}