aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/feed/mail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go
index 6ca7192..799e36e 100644
--- a/internal/feed/mail.go
+++ b/internal/feed/mail.go
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/base64"
"fmt"
- "io/ioutil"
+ "io"
"mime"
"net/url"
"path"
@@ -224,7 +224,7 @@ func getImage(src string, timeout int, disableTLS bool) ([]byte, string, error)
}
defer cancel()
- img, err := ioutil.ReadAll(resp.Body)
+ img, err := io.ReadAll(resp.Body)
if err != nil {
return nil, "", fmt.Errorf("reading from '%s': %w", src, err)
}
>-4/+4 2020-05-03Explicit version infoRené 'Necoro' Neumann4-12/+15 2020-05-03--version flagRené 'Necoro' Neumann1-0/+6 2020-05-03Rename from 'client' to 'cl'René 'Necoro' Neumann5-26/+26 2020-05-03Use UIDPLUS Imap extensionRené 'Necoro' Neumann4-11/+33 2020-05-03Fix update in IMAPRené 'Necoro' Neumann1-2/+12 2020-05-03Update support for IMAPRené 'Necoro' Neumann5-17/+205 2020-05-03Option "reupload-if-updated"René 'Necoro' Neumann2-0/+4 2020-05-03Fix typoRené 'Necoro' Neumann1-2/+2 2020-05-02Use uuid library directly and encode to base64.René 'Necoro' Neumann6-10/+16 Also add an additional header `X-Feed2Imap-Item`, b/c the messageId contains the variable part of the hostname. 2020-05-02RestructureRené 'Necoro' Neumann8-95/+111 2020-05-02WIP: Message-IdsRené 'Necoro' Neumann8-5/+40 2020-05-02Typo and mention config example in READMERené 'Necoro' Neumann2-1/+3