2017-09-27 02:33:08 +08:00
|
|
|
import { ComponentRegistry } from 'nylas-exports';
|
|
|
|
import ParticipantProfileStore from './participant-profile-store';
|
|
|
|
import SidebarParticipantProfile from './sidebar-participant-profile';
|
|
|
|
import SidebarRelatedThreads from './sidebar-related-threads';
|
2016-03-10 03:33:31 +08:00
|
|
|
|
|
|
|
export function activate() {
|
2017-09-27 02:33:08 +08:00
|
|
|
ParticipantProfileStore.activate();
|
|
|
|
ComponentRegistry.register(SidebarParticipantProfile, { role: 'MessageListSidebar:ContactCard' });
|
|
|
|
ComponentRegistry.register(SidebarRelatedThreads, { role: 'MessageListSidebar:ContactCard' });
|
2016-03-10 03:33:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export function deactivate() {
|
2017-09-27 02:33:08 +08:00
|
|
|
ComponentRegistry.unregister(SidebarParticipantProfile);
|
|
|
|
ComponentRegistry.unregister(SidebarRelatedThreads);
|
|
|
|
ParticipantProfileStore.deactivate();
|
2016-03-10 03:33:31 +08:00
|
|
|
}
|
|
|
|
|
2017-09-27 02:33:08 +08:00
|
|
|
export function serialize() {}
|