Skip to content

Commit d0d4cef

Browse files
moredureemersion
authored andcommitted
Update mailbox.go
1 parent dcd9ee6 commit d0d4cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const InboxName = "INBOX"
1616
// case-sensitive or case-insensitive depending on the backend implementation.
1717
// The special INBOX mailbox is case-insensitive.
1818
func CanonicalMailboxName(name string) string {
19-
if strings.ToUpper(name) == InboxName {
19+
if strings.EqualFold(name, InboxName) {
2020
return InboxName
2121
}
2222
return name

0 commit comments

Comments
 (0)