mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user