Mailspring/internal_packages/send-and-archive/lib/main.coffee

12 lines
330 B
CoffeeScript
Raw Normal View History

{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