Update msg.go

Co-authored-by: iwittkau <iwittkau@users.noreply.github.com>
This commit is contained in:
Winni Neessen 2023-01-02 22:28:39 +01:00 committed by GitHub
parent b12b0bb363
commit dbb596893d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
msg.go
View file

@ -961,7 +961,7 @@ func (m *Msg) UpdateReader(r *Reader) {
} }
// HasSendError returns true if the Msg experienced an error during the message delivery and the // HasSendError returns true if the Msg experienced an error during the message delivery and the
// senderror field of the Msg is not nil // sendError field of the Msg is not nil
func (m *Msg) HasSendError() bool { func (m *Msg) HasSendError() bool {
return m.sendError != nil return m.sendError != nil
} }