Merge branch 'develop' of github.com:zammad/zammad into develop

This commit is contained in:
Ryan Lue 2018-04-19 17:40:44 +08:00
commit 5f728f20c3

View file

@ -181,7 +181,7 @@ class Transaction::Slack
result = notifier.ping result[:subject],
attachments: [attachment]
end
if !result.success?
if !result.empty? && !result[0].success?
if sent_value
Cache.delete(cache_key)
end