mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-24 20:06:28 +03:00
Implement Reset on SessionLocal
This commit is contained in:
@@ -107,7 +107,10 @@ func (s *SessionLocal) Data(r io.Reader) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *SessionLocal) Reset() {}
|
func (s *SessionLocal) Reset() {
|
||||||
|
s.rcpt = s.rcpt[:0]
|
||||||
|
s.from = ""
|
||||||
|
}
|
||||||
|
|
||||||
func (s *SessionLocal) Logout() error {
|
func (s *SessionLocal) Logout() error {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user