Rename to dynamic:mail-inbox

This commit is contained in:
Melon 2023-11-19 20:47:11 +00:00
parent a4983a2244
commit 1c5487f3dd
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -174,7 +174,7 @@ func (h *HttpServer) flowCallback(rw http.ResponseWriter, req *http.Request, _ h
for _, i := range v.target.Permissions { for _, i := range v.target.Permissions {
if strings.HasPrefix(i, "dynamic:") { if strings.HasPrefix(i, "dynamic:") {
switch i { switch i {
case "dynamic:mail-client": case "dynamic:mail-inbox":
needsMailFlag = true needsMailFlag = true
case "dynamic:domain-owns": case "dynamic:domain-owns":
needsDomains = true needsDomains = true