Improved checkAttachmentReference().
This commit is contained in:
parent
4847fa1e42
commit
59975b5371
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue