From e6b40adf8a7a86232cb799cf0f91f7126be55a39 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Thu, 16 Oct 2025 15:37:38 +0200 Subject: [PATCH] remove 1 year old mute-migration from global-setting to profile-setting; if ppl did not upgrade since then, they do not care much --- .../thoughtcrime/securesms/ApplicationContext.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java b/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java index ea9041d89..dbe09ab9a 100644 --- a/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java +++ b/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java @@ -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);