|
|
|
@ -884,19 +884,17 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void updateRecipientPreferences() {
|
|
|
|
|
if (recipients.getPrimaryRecipient() != null &&
|
|
|
|
|
recipients.getPrimaryRecipient().getContactUri() != null)
|
|
|
|
|
{
|
|
|
|
|
new RecipientPreferencesTask().execute(recipients);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected void updateInviteReminder(boolean seenInvite) {
|
|
|
|
|
Log.w(TAG, "updateInviteReminder(" + seenInvite+")");
|
|
|
|
|
if (TextSecurePreferences.isPushRegistered(this) &&
|
|
|
|
|
!isSecureText &&
|
|
|
|
|
!seenInvite &&
|
|
|
|
|
recipients.isSingleRecipient())
|
|
|
|
|
recipients.isSingleRecipient() &&
|
|
|
|
|
recipients.getPrimaryRecipient() != null &&
|
|
|
|
|
recipients.getPrimaryRecipient().getContactUri() != null)
|
|
|
|
|
{
|
|
|
|
|
InviteReminder reminder = new InviteReminder(this, recipients);
|
|
|
|
|
reminder.setOkListener(new OnClickListener() {
|
|
|
|
|