aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/client.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/imap/client.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/internal/imap/client.go b/internal/imap/client.go
index 7440ed7..7569fb8 100644
--- a/internal/imap/client.go
+++ b/internal/imap/client.go
@@ -84,16 +84,6 @@ func (client *Client) list(folder string) (*imap.MailboxInfo, int, error) {
return mbox, found, nil
}
-func (client *Client) selectToplevel() (err error) {
- err = client.EnsureFolder(client.toplevel)
-
- if err == nil {
- _, err = client.c.Select(client.toplevel, false)
- }
-
- return
-}
-
func (client *Client) fetchDelimiter() error {
mbox, _, err := client.list("")
if err != nil {
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 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