Mailspring/internal_packages/send-and-archive/lib/main.coffee
Evan Morikawa 392753233e feat(send): Send and Archive
Summary: Send and Archive plus a new setting.

Test Plan: new tests

Reviewers: bengotow, juan

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2446
2016-01-25 14:14:09 -08:00

11 lines
330 B
CoffeeScript

{ExtensionRegistry} = require 'nylas-exports'
SendAndArchiveExtension = require './send-and-archive-extension'
module.exports =
activate: (@state={}) ->
ExtensionRegistry.Composer.register(SendAndArchiveExtension)
deactivate: ->
ExtensionRegistry.Composer.unregister(SendAndArchiveExtension)
serialize: -> @state