Skip to content

Commit 0779fc8

Browse files
ondrejbimanu7hatch
authored andcommitted
[FIX] label name in all is utf7 decoded
1 parent 86b6504 commit 0779fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gmail/labels.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def each(*args, &block)
2424

2525
# Returns +true+ when given label defined.
2626
def exists?(label)
27-
all.include?(Net::IMAP.encode_utf7(label))
27+
all.include?(label)
2828
end
2929
alias :exist? :exists?
3030

0 commit comments

Comments
 (0)