Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec3b1ddf authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Nishith Khanna
Browse files

mail: Change message auto download size from 128Kb to 1Mb

parent 46e28441
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ interface AccountDefaultsProvider {
    fun applyOverwrites(account: LegacyAccount, storage: Storage)

    companion object {
        const val DEFAULT_MAXIMUM_AUTO_DOWNLOAD_MESSAGE_SIZE = 131072
        const val DEFAULT_MAXIMUM_AUTO_DOWNLOAD_MESSAGE_SIZE = 1048576

        @JvmStatic
        val DEFAULT_MESSAGE_FORMAT = MessageFormat.HTML
+1 −2
Original line number Diff line number Diff line
@@ -135,8 +135,7 @@ class AccountSettingsDescriptions {
                new V(1, new IntegerRangeSetting(0, 100, 10))
        ));
        s.put("maximumAutoDownloadMessageSize", Settings.versions(
                new V(1, new IntegerResourceSetting(32768, R.array.autodownload_message_size_values)),
                new V(93, new IntegerResourceSetting(131072, R.array.autodownload_message_size_values))
                new V(1, new IntegerResourceSetting(1048576, R.array.autodownload_message_size_values))
        ));
        s.put("maximumPolledMessageAge", Settings.versions(
                new V(1, new IntegerResourceSetting(-1, R.array.message_age_values))