diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-10-16 11:59:34 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-10-16 11:59:34 -0400 |
commit | 9c045f0d4bdf254f57b94356fd2f5f2a2408ed03 (patch) | |
tree | 0fc95a8110cd252cad8385c973698ea01bc80ea5 /model | |
parent | 3c593af598b2bb986244099ed1b9a46ed3837911 (diff) | |
parent | 58c33f01d563d729e5fa5f8f037369210f8a1962 (diff) | |
download | chat-9c045f0d4bdf254f57b94356fd2f5f2a2408ed03.tar.gz chat-9c045f0d4bdf254f57b94356fd2f5f2a2408ed03.tar.bz2 chat-9c045f0d4bdf254f57b94356fd2f5f2a2408ed03.zip |
Merge pull request #1085 from mattermost/plt-633
PLT-633 Add default username and icon to incoming webhooks.
Diffstat (limited to 'model')
-rw-r--r-- | model/webhook.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/model/webhook.go b/model/webhook.go index 3bf034908..9b9969b96 100644 --- a/model/webhook.go +++ b/model/webhook.go @@ -8,6 +8,11 @@ import ( "io" ) +const ( + DEFAULT_WEBHOOK_USERNAME = "webhook" + DEFAULT_WEBHOOK_ICON = "/static/images/webhook_icon.jpg" +) + type IncomingWebhook struct { Id string `json:"id"` CreateAt int64 `json:"create_at"` |