mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 08:46:07 +08:00
60e6113f87
Summary: Prior to Nylas Mail, the Nylas Cloud API provided an endpoint that returned rankings for contacts which it computed based on how frequently and how recently a user sent mail to a recipient. This diff reimplements that functionality in Nylas Mail. This should improve contact auto-complete when composing emails to frequently contacted recipients. Test Plan: Run locally, verify that frequent contacts are suggested earlier Reviewers: spang, evan, juan Reviewed By: evan, juan Maniphest Tasks: T7948 Differential Revision: https://phab.nylas.com/D4253
11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
import ContactRankingsCache from './contact-rankings-cache'
|
|
|
|
|
|
export function activate() {
|
|
ContactRankingsCache.activate();
|
|
}
|
|
|
|
export function deactivate() {
|
|
ContactRankingsCache.deactivate();
|
|
}
|