mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-23 09:23:38 +02:00
Refactoring
This commit is contained in:
@@ -7438,7 +7438,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
else if (attachment.isAttachment())
|
||||
attached++;
|
||||
String ext = Helper.getExtension(attachment.name);
|
||||
if (Helper.DANGEROUS_EXTENSIONS.contains(ext))
|
||||
if (EntityAttachment.DANGEROUS_EXTENSIONS.contains(ext))
|
||||
dangerous.add(attachment.name);
|
||||
}
|
||||
if (dangerous.size() > 0)
|
||||
|
||||
Reference in New Issue
Block a user