From 26170fc1472097325869b49d5eb3e7007f47ad70 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 24 Dec 2025 13:40:18 +0100 Subject: [PATCH] no showing email in account switcher even if that is done for non-chatmail only, it raises false expectations for other profiles, and here it is easy to avoid - if that is really an important information for the user, they can add it to the label. also, this synchronizes UI which what is done on desktop/iOS --- .../securesms/accounts/AccountSelectionListItem.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java b/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java index ee31d7abc..5627cf4ee 100644 --- a/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java +++ b/src/main/java/org/thoughtcrime/securesms/accounts/AccountSelectionListItem.java @@ -76,9 +76,6 @@ public class AccountSelectionListItem extends LinearLayout { name = self.getAddr(); } addrOrTag = dcContext.getConfig(CONFIG_PRIVATE_TAG); - if ("".equals(addrOrTag) && !dcContext.isChatmail()) { - addrOrTag = self.getAddr(); - } unreadCount = dcContext.getFreshMsgs().length; recipient = new Recipient(getContext(), self, name); this.contactPhotoImage.setConnectivity(dcContext.getConnectivity());