aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/imap/client.go')
-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 {