aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/imap/folder.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/imap/folder.go b/internal/imap/folder.go
index d7562b8..9386293 100644
--- a/internal/imap/folder.go
+++ b/internal/imap/folder.go
@@ -16,6 +16,10 @@ func (f Folder) Append(other Folder) Folder {
panic("Delimiters do not match")
}
+ if other.str == "" {
+ return f
+ }
+
var prefix string
if f.str == "" {
prefix = ""