From 9337a1d44aa24e5cb51c2bafaec635cd64ebc62e Mon Sep 17 00:00:00 2001 From: Mikunj Date: Wed, 27 Nov 2019 16:10:41 +1100 Subject: [PATCH] Share profile straight away if you initiate a conversation --- .../securesms/conversation/ConversationActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java index 228382df91..84f3c11da5 100644 --- a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java @@ -2376,11 +2376,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity new AsyncTask() { @Override protected Long doInBackground(Void... param) { - /* Loki - Don't enable profile sharing if we initiate conversation if (initiating) { DatabaseFactory.getRecipientDatabase(context).setProfileSharing(recipient, true); } - */ return MessageSender.send(context, outgoingMessage, threadId, forceSms, () -> fragment.releaseOutgoingMessage(id)); } @@ -2433,11 +2431,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity new AsyncTask() { @Override protected Long doInBackground(OutgoingTextMessage... messages) { - /* Loki - Don't enable profile sharing if we initiate conversation if (initiatingConversation) { DatabaseFactory.getRecipientDatabase(context).setProfileSharing(recipient, true); } - */ return MessageSender.send(context, messages[0], threadId, forceSms, () -> fragment.releaseOutgoingMessage(id)); }