kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
059ff3e2e1
commit
63f7faf5bb
|
@ -884,11 +884,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateRecipientPreferences() {
|
private void updateRecipientPreferences() {
|
||||||
if (recipients.getPrimaryRecipient() != null &&
|
new RecipientPreferencesTask().execute(recipients);
|
||||||
recipients.getPrimaryRecipient().getContactUri() != null)
|
|
||||||
{
|
|
||||||
new RecipientPreferencesTask().execute(recipients);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void updateInviteReminder(boolean seenInvite) {
|
protected void updateInviteReminder(boolean seenInvite) {
|
||||||
|
@ -896,7 +892,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||||
if (TextSecurePreferences.isPushRegistered(this) &&
|
if (TextSecurePreferences.isPushRegistered(this) &&
|
||||||
!isSecureText &&
|
!isSecureText &&
|
||||||
!seenInvite &&
|
!seenInvite &&
|
||||||
recipients.isSingleRecipient())
|
recipients.isSingleRecipient() &&
|
||||||
|
recipients.getPrimaryRecipient() != null &&
|
||||||
|
recipients.getPrimaryRecipient().getContactUri() != null)
|
||||||
{
|
{
|
||||||
InviteReminder reminder = new InviteReminder(this, recipients);
|
InviteReminder reminder = new InviteReminder(this, recipients);
|
||||||
reminder.setOkListener(new OnClickListener() {
|
reminder.setOkListener(new OnClickListener() {
|
||||||
|
|
Ładowanie…
Reference in New Issue