emersion / go-imap

📥 An IMAP library for clients and servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v2: imapserver: user.Append panic on nil AppendOptions

Rikkuru opened this issue · comments

this code panics. Options param can't be nil.

	user.Append("INBOX", emlReader, nil)

We can check if it is nil or even change type from pointer to imap.AppendOptions ?

We should accept nil.

Can't reproduce as of ae08e17.