mirror of https://github.com/M66B/FairEmail.git
Workaround wrongly encoded file names
This commit is contained in:
parent
b3e28071b3
commit
1dc9c60189
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue