mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 18:54:21 +00:00
All push groups are 'secure' ConversationActivities.
This commit is contained in:
parent
4e703d5a00
commit
e2989373cd
@ -552,8 +552,8 @@ public class ConversationActivity extends PassphraseRequiredSherlockFragmentActi
|
||||
R.attr.conversation_send_secure_button};
|
||||
TypedArray drawables = obtainStyledAttributes(attributes);
|
||||
|
||||
if (isSingleConversation() &&
|
||||
Session.hasSession(this, masterSecret, getRecipients().getPrimaryRecipient()))
|
||||
if ((getRecipients() != null && getRecipients().isGroupRecipient()) ||
|
||||
(isSingleConversation() && Session.hasSession(this, masterSecret, getRecipients().getPrimaryRecipient())))
|
||||
{
|
||||
sendButton.setImageDrawable(drawables.getDrawable(1));
|
||||
this.isEncryptedConversation = true;
|
||||
@ -643,6 +643,7 @@ public class ConversationActivity extends PassphraseRequiredSherlockFragmentActi
|
||||
Intent intent = new Intent(ConversationActivity.this, SingleContactSelectionActivity.class);
|
||||
startActivityForResult(intent, PICK_CONTACT);
|
||||
}
|
||||
|
||||
private void initializeReceivers() {
|
||||
securityUpdateReceiver = new BroadcastReceiver() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user