mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
cleanup: Remove unused/unnecessary code
This commit is contained in:
committed by
Alberto Bertogli
parent
eb21e61a4f
commit
227379ecde
@@ -178,11 +178,7 @@ func (v *Resolver) Exists(tr *trace.Trace, addr string) bool {
|
||||
|
||||
domain := envelope.DomainOf(addr)
|
||||
catchAll, _ := v.lookup("*@"+domain, tr)
|
||||
if len(catchAll) > 0 {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
return len(catchAll) > 0
|
||||
}
|
||||
|
||||
func (v *Resolver) lookup(addr string, tr *trace.Trace) ([]Recipient, error) {
|
||||
|
||||
@@ -8,8 +8,6 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
errNoBody = errors.New("no body found")
|
||||
|
||||
errUnknownCanonicalization = errors.New("unknown canonicalization")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user