mimic the previous behavior

This commit is contained in:
B. Petersen
2023-10-04 16:21:25 +02:00
committed by bjoern
parent 6fd19d2da4
commit 56044f39ee
@@ -18,7 +18,7 @@ public class AttachContactActivity extends ContactSelectionActivity {
DcContext dcContext = DcHelper.getContext(this);
int contactId = dcContext.lookupContactIdByAddr(addr);
if (contactId != 0) {
name = dcContext.getContact(contactId).getName();
name = dcContext.getContact(contactId).getDisplayName();
}
Intent intent = new Intent();
intent.putExtra(SHARE_CONTACT_NAME_EXTRA, name);