mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
fb65ec0676
when we send a list of messages from the mox backend to the js frontend, we include a parsed form of the "initial" message: the one we immediately show, typically the top-most (unread) message. however, if that message could not be parsed (due to invalid header syntax), we would fail the entire operation of loading the view. with this change, we simply don't return a parsed form of an initial message if we cannot parse it. that will cause the webmail frontend to not select & display a message immediately. if you then try to open the message, you'll still get an error message as before. but at least the view has been loaded, and you can open the raw message to inspect the contents. for issue #219 by wneessen |
||
---|---|---|
.. | ||
addr.go | ||
addr_test.go | ||
authresults.go | ||
authresults_test.go | ||
compose.go | ||
decode.go | ||
decode_test.go | ||
doc.go | ||
examples_test.go | ||
from.go | ||
hdrcmtdomain.go | ||
headerwriter.go | ||
messageid.go | ||
messageid_test.go | ||
parseheaderfields.go | ||
parseheaderfields_test.go | ||
part.go | ||
part_test.go | ||
qp.go | ||
readheaders.go | ||
referencedids.go | ||
referencedids_test.go | ||
threadsubject.go | ||
threadsubject_test.go | ||
time.go | ||
todo.go | ||
writer.go | ||
writer_test.go |