aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/folder.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/imap/folder.go')
-rw-r--r--internal/imap/folder.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/internal/imap/folder.go b/internal/imap/folder.go
index 6353bb3..d7562b8 100644
--- a/internal/imap/folder.go
+++ b/internal/imap/folder.go
@@ -15,8 +15,16 @@ func (f Folder) Append(other Folder) Folder {
if f.delimiter != other.delimiter {
panic("Delimiters do not match")
}
+
+ var prefix string
+ if f.str == "" {
+ prefix = ""
+ } else {
+ prefix = f.str + f.delimiter
+ }
+
return Folder{
- str: f.str + f.delimiter + other.str,
+ str: prefix + other.str,
delimiter: f.delimiter,
}
}
ortato.git/commit/i18n/pt_BR.po?h=0.13&id=ed1ed878aa5cb3f5c05cfa580bd5d13aa540322b&follow=1'>Updated portugese translationAlberto Federman Neto1-650/+687 2009-08-15Update spanish translationDaniel Halens1-245/+258 2009-08-12Updated polish translationTomasz Osiński1-644/+680 2009-08-12Updated catalan translationRoger Calvó1-643/+676 2009-08-11Sync portage and the DB after emerge syncRené 'Necoro' Neumann1-0/+9 2009-08-11Do not show masking label, if the package is not in system anymoreRené 'Necoro' Neumann1-2/+2 2009-08-11Update turkish translationGürkan Gür1-640/+676 2009-08-11Fix handling of slots in /etc/portage/*René 'Necoro' Neumann2-2/+4 2009-08-11Fix package detailsRené 'Necoro' Neumann1-1/+1 2009-08-11Fix GPytage pluginRené 'Necoro' Neumann1-2/+2 2009-08-11Update translationRené 'Necoro' Neumann2-1112/+1120 2009-08-11Update changelogRené 'Necoro' Neumann1-0/+1 2009-08-10Fixed pt_BR translationAlberto Federman Neto1-2/+5 2009-08-10Add credits for translationRené 'Necoro' Neumann2-0/+2