Decode email when reading it for quoting
This commit is contained in:
parent
08855f23ec
commit
5701b6e949
2 changed files with 26 additions and 2 deletions
widgets
|
@ -129,6 +129,7 @@ func (c *Composer) Defaults(defaults map[string]string) *Composer {
|
|||
func (c *Composer) SetContents(reader io.Reader) *Composer {
|
||||
c.email.Seek(0, os.SEEK_SET)
|
||||
io.Copy(c.email, reader)
|
||||
c.email.Sync()
|
||||
c.email.Seek(0, os.SEEK_SET)
|
||||
return c
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue