diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/messageview.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/messageview.go b/lib/messageview.go index 8db7994a..f221fb2c 100644 --- a/lib/messageview.go +++ b/lib/messageview.go @@ -69,7 +69,7 @@ func NewMessageStoreView(messageInfo *models.MessageInfo, if usePGP(messageInfo.BodyStructure) { store.FetchFull([]uint32{messageInfo.Uid}, func(fm *types.FullMessage) { - reader := fm.Content.Reader + reader := lib.NewCRLFReader(fm.Content.Reader) pgpReader, err := pgpmail.Read(reader, Keyring, decryptKeys, nil) if err != nil { cb(nil, err) |