mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +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
d57cca64d0
commit
58716c72aa
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