mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
23 lines
741 B
JavaScript
23 lines
741 B
JavaScript
|
/** @babel */
|
||
|
import {ComponentRegistry} from 'nylas-exports'
|
||
|
import ParticipantProfileStore from './participant-profile-store'
|
||
|
import SidebarParticipantProfile from './sidebar-participant-profile'
|
||
|
import SidebarRelatedThreads from './sidebar-related-threads'
|
||
|
|
||
|
export function activate() {
|
||
|
ParticipantProfileStore.activate()
|
||
|
ComponentRegistry.register(SidebarParticipantProfile, {role: 'MessageListSidebar:ContactCard'})
|
||
|
ComponentRegistry.register(SidebarRelatedThreads, {role: 'MessageListSidebar:ContactCard'})
|
||
|
}
|
||
|
|
||
|
export function deactivate() {
|
||
|
ComponentRegistry.unregister(SidebarParticipantProfile)
|
||
|
ComponentRegistry.unregister(SidebarRelatedThreads)
|
||
|
ParticipantProfileStore.deactivate()
|
||
|
}
|
||
|
|
||
|
export function serialize() {
|
||
|
|
||
|
}
|
||
|
|