Disable contact sending.

This commit is contained in:
Greyson Parrelli 2018-05-21 19:57:50 -04:00
parent 5d75f11cbc
commit 93effc8890

View File

@ -428,12 +428,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
break;
case PICK_CONTACT:
// TODO(greyson): Re-enable shared contact sending after receiving has been enabled for a few releases
// addAttachmentContactInfo(data.getData());
if (isSecureText && !isSmsForced()) {
openContactShareEditor(data.getData());
} else {
addAttachmentContactInfo(data.getData());
}
// if (isSecureText && !isSmsForced()) {
// openContactShareEditor(data.getData());
// } else {
// addAttachmentContactInfo(data.getData());
// }
break;
case GET_CONTACT_DETAILS:
sendSharedContact(data.getParcelableArrayListExtra(ContactShareEditActivity.KEY_CONTACTS));