verified_one_on_one_chats option was removed in core 2.17

This commit is contained in:
B. Petersen
2025-10-16 15:36:35 +02:00
committed by bjoern
parent 6f2cc60017
commit 500e5a910d
3 changed files with 0 additions and 10 deletions
@@ -1,7 +1,5 @@
package org.thoughtcrime.securesms;
import static org.thoughtcrime.securesms.connect.DcHelper.CONFIG_VERIFIED_ONE_ON_ONE_CHATS;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
@@ -139,10 +137,6 @@ public class ApplicationContext extends MultiDexApplication {
}
// /migrating global notifications
for (int accountId : allAccounts) {
dcAccounts.getAccount(accountId).setConfig(CONFIG_VERIFIED_ONE_ON_ONE_CHATS, "1");
}
// set translations before starting I/O to avoid sending untranslated MDNs (issue #2288)
DcHelper.setStockTranslations(this);
@@ -1,7 +1,5 @@
package org.thoughtcrime.securesms.connect;
import static org.thoughtcrime.securesms.connect.DcHelper.CONFIG_VERIFIED_ONE_ON_ONE_CHATS;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
@@ -35,7 +33,6 @@ public class AccountManager {
ApplicationContext appContext = (ApplicationContext)context.getApplicationContext();
appContext.dcContext = ApplicationContext.dcAccounts.getSelectedAccount();
DcHelper.setStockTranslations(context);
DcHelper.getContext(context).setConfig(CONFIG_VERIFIED_ONE_ON_ONE_CHATS, "1");
DirectShareUtil.resetAllShortcuts(appContext);
}
@@ -72,7 +72,6 @@ public class DcHelper {
public static final String CONFIG_MEDIA_QUALITY = "media_quality";
public static final String CONFIG_PROXY_ENABLED = "proxy_enabled";
public static final String CONFIG_PROXY_URL = "proxy_url";
public static final String CONFIG_VERIFIED_ONE_ON_ONE_CHATS = "verified_one_on_one_chats";
public static final String CONFIG_WEBXDC_REALTIME_ENABLED = "webxdc_realtime_enabled";
public static final String CONFIG_PRIVATE_TAG = "private_tag";