mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
mimic the previous behavior
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user