Improved checkAttachmentReference().

This commit is contained in:
Martin Edenhofer 2016-04-29 14:27:20 +02:00
parent 4847fa1e42
commit 59975b5371

View file

@ -541,7 +541,7 @@ class App.Utils
@checkAttachmentReference: (message) ->
return false if !message
return true if message.match(/attachment/i)
matchwords = ['Attachment', 'attachment', 'Attached', 'attached', 'Enclosed', 'enclosed']
matchwords = ['Attachment', 'attachment', 'Attached', 'attached', 'Enclosed', 'enclosed', 'Enclosure', 'enclosure']
for word in matchwords
# en