1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Zip formats supported

This commit is contained in:
M66B 2022-03-11 16:04:12 +01:00
parent 74e54f8d20
commit ef34d04027

View file

@ -149,9 +149,9 @@ public class MessageHelper {
static final int MAX_UNZIP_COUNT = 20;
static final long MAX_UNZIP_SIZE = 1000 * 1000 * 1000L;
static final List<String> UNZIP_FORMATS = Collections.unmodifiableList(Arrays.asList(
"ZIP"
));
static final List<String> UNZIP_FORMATS = BuildConfig.PLAY_STORE_RELEASE
? Collections.unmodifiableList(Arrays.asList("zip"))
: Collections.unmodifiableList(Arrays.asList("zip, gz, tar.gz"));
static final List<String> RECEIVED_WORDS = Collections.unmodifiableList(Arrays.asList(
"from", "by", "via", "with", "id", "for"