mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
12 lines
330 B
CoffeeScript
12 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
|