endpoint/imap: Add NAMESPACE extension

This commit is contained in:
fox.cpp 2020-07-22 16:06:49 +03:00
parent 3c467de649
commit 04d39f2163
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
3 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,7 @@ import (
_ "github.com/emersion/go-message/charset"
"github.com/emersion/go-sasl"
i18nlevel "github.com/foxcpp/go-imap-i18nlevel"
namespace "github.com/foxcpp/go-imap-namespace"
"github.com/foxcpp/go-imap-sql/children"
"github.com/foxcpp/maddy/framework/config"
modconfig "github.com/foxcpp/maddy/framework/config/module"
@ -254,6 +255,7 @@ func (endp *Endpoint) enableExtensions() error {
endp.serv.Enable(compress.NewExtension())
endp.serv.Enable(unselect.NewExtension())
endp.serv.Enable(idle.NewExtension())
endp.serv.Enable(namespace.NewExtension())
return nil
}