aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/folder.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/imap/folder.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/imap/folder.go b/internal/imap/folder.go
index 1f4e0bf..e845862 100644
--- a/internal/imap/folder.go
+++ b/internal/imap/folder.go
@@ -21,13 +21,13 @@ func (f Folder) Append(other Folder) Folder {
}
}
-func (client *Client) folderName(path []string) Folder {
+func (cl *Client) folderName(path []string) Folder {
return Folder{
- strings.Join(path, client.delimiter),
- client.delimiter,
+ strings.Join(path, cl.delimiter),
+ cl.delimiter,
}
}
-func (client *Client) NewFolder(path []string) Folder {
- return client.toplevel.Append(client.folderName(path))
+func (cl *Client) NewFolder(path []string) Folder {
+ return cl.toplevel.Append(cl.folderName(path))
}