remove 1 year old mute-migration from global-setting to profile-setting; if ppl did not upgrade since then, they do not care much

This commit is contained in:
B. Petersen
2025-10-16 15:37:38 +02:00
committed by bjoern
parent 500e5a910d
commit e6b40adf8a
@@ -126,17 +126,6 @@ public class ApplicationContext extends MultiDexApplication {
Log.i("DeltaChat", "shutting down event handler");
}, "eventThread").start();
// migrating global notifications pref. to per-account config, added 10/July/24
final String NOTIFICATION_PREF = "pref_key_enable_notifications";
boolean isMuted = !Prefs.getBooleanPreference(this, NOTIFICATION_PREF, true);
if (isMuted) {
for (int accId : dcAccounts.getAll()) {
dcAccounts.getAccount(accId).setMuted(true);
}
Prefs.removePreference(this, NOTIFICATION_PREF);
}
// /migrating global notifications
// set translations before starting I/O to avoid sending untranslated MDNs (issue #2288)
DcHelper.setStockTranslations(this);