owainlewis / clojure-mail

A Clojure library for parsing, downloading and reading email from IMAP servers.
202 stars 54 forks source link

Always return array from clojure-mail.message/message-body #67

Open razum2um opened 5 years ago

razum2um commented 5 years ago

I mean here https://github.com/owainlewis/clojure-mail/blob/b73d63f/src/clojure_mail/message.clj#L158 return [(msg->map part)] in order to always be consistent. Since PersistentArrayMap is also sequable currently it may lead to error somewhere deep in stack.

Downside: this is obviously a breaking change :(