mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
fix(sidebar): fix bug in sidebar scoring
Not properly getting passed the account means that yourself was not properly downgraded in the sidebar participant score
This commit is contained in:
parent
43ea21e3bf
commit
ff61da26d7
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class FocusedContactsStore extends NylasStore
|
|||
_calculatePenalties: (contact, score) ->
|
||||
penalties = 0
|
||||
email = contact.email.toLowerCase().trim()
|
||||
myEmail = AccountStore.accountForId(@currentThread?.accountId)?.emailAddress
|
||||
myEmail = AccountStore.accountForId(@_currentThread?.accountId)?.emailAddress
|
||||
|
||||
if email is myEmail
|
||||
# The whole thing which will penalize to zero
|
||||
|
|
Loading…
Reference in a new issue