parent
40108d5276
commit
15b131d8c2
1 changed files with 6 additions and 1 deletions
|
@ -816,7 +816,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
}
|
||||
|
||||
private void updateInviteReminder() {
|
||||
if (TextSecurePreferences.isPushRegistered(this) && !isSecureText && recipients.isSingleRecipient()) {
|
||||
if (TextSecurePreferences.isPushRegistered(this) &&
|
||||
!isSecureText &&
|
||||
recipients.isSingleRecipient() &&
|
||||
recipients.getPrimaryRecipient() != null &&
|
||||
recipients.getPrimaryRecipient().getContactUri() != null)
|
||||
{
|
||||
new ShowInviteReminderTask().execute(recipients);
|
||||
} else {
|
||||
reminderView.hide();
|
||||
|
|
Loading…
Add table
Reference in a new issue