Merge release branch 'release-1.2'

Этот коммит содержится в:
Christopher Speller
2015-11-16 11:38:25 -05:00
родитель d03b383097 49a459d696
Коммит 48d2f86b90
10 изменённых файлов: 21 добавлений и 14 удалений

Просмотреть файл

@@ -989,7 +989,7 @@ func incomingWebhook(c *api.Context, w http.ResponseWriter, r *http.Request) {
}
text := parsedRequest.Text
if len(text) == 0 {
if len(text) == 0 && parsedRequest.Attachments == nil {
c.Err = model.NewAppError("incomingWebhook", "No text specified", "")
return
}