mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-27 22:48:04 +08:00
fix(warnings): Don't issue a warning for attachments when word attach in
signature - Fixes #912
This commit is contained in:
parent
5ad35cf4d0
commit
0dd87c80d7
1 changed files with 2 additions and 0 deletions
|
|
@ -751,6 +751,8 @@ class ComposerView extends React.Component
|
|||
|
||||
_mentionsAttachment: (body) =>
|
||||
body = QuotedHTMLTransformer.removeQuotedHTML(body.toLowerCase().trim())
|
||||
signatureIndex = body.indexOf('<div class="nylas-n1-signature">')
|
||||
body = body[...signatureIndex] if signatureIndex isnt -1
|
||||
return body.indexOf("attach") >= 0
|
||||
|
||||
_destroyDraft: =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue