aboutsummaryrefslogtreecommitdiffstats
path: root/lib/messageview.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/messageview.go')
-rw-r--r--lib/messageview.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/messageview.go b/lib/messageview.go
index e0e86ea1..6ad86c9c 100644
--- a/lib/messageview.go
+++ b/lib/messageview.go
@@ -3,7 +3,6 @@ package lib
import (
"bytes"
"io"
- "io/ioutil"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/emersion/go-message"
@@ -77,7 +76,7 @@ func NewMessageStoreView(messageInfo *models.MessageInfo,
cb(nil, err)
return
}
- msv.message, err = ioutil.ReadAll(md.Body)
+ msv.message, err = io.ReadAll(md.Body)
if err != nil {
cb(nil, err)
return