diff options
Diffstat (limited to 'internal/imap')
-rw-r--r-- | internal/imap/folder.go | 4 |
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 = "" |