mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 18:23:21 +08:00
fix(contacts): No longer allow autocompletion to contacts without emails
This commit is contained in:
parent
2f2f5e09c5
commit
a436f2f8d3
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ class ContactStore
|
|||
search = search.toLowerCase()
|
||||
|
||||
matchFunction = (contact) ->
|
||||
# For the time being, we never return contacts that are missing
|
||||
# email addresses
|
||||
return false unless contact.email
|
||||
# - email (bengotow@gmail.com)
|
||||
# - name parts (Ben, Go)
|
||||
# - name full (Ben Gotow)
|
||||
|
|
Loading…
Reference in a new issue