mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Workaround wrongly encoded file names
This commit is contained in:
@@ -1020,6 +1020,8 @@ public class MessageHelper {
|
||||
String filename;
|
||||
try {
|
||||
filename = part.getFileName();
|
||||
if (filename != null)
|
||||
filename = decodeMime(filename);
|
||||
} catch (MessagingException ex) {
|
||||
Log.w(ex);
|
||||
parts.warnings.add(Helper.formatThrowable(ex, false));
|
||||
|
||||
Reference in New Issue
Block a user