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
This commit is contained in:
B. Petersen
2025-12-24 13:40:18 +01:00
parent b6b3fe12b6
commit 26170fc147
@@ -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());