mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-24 20:16:34 +00:00
Add preference for SMS invitation prompt
// FREEBIE
This commit is contained in:
@@ -978,11 +978,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
|
||||
protected void updateInviteReminder(boolean seenInvite) {
|
||||
Log.w(TAG, "updateInviteReminder(" + seenInvite+")");
|
||||
if (TextSecurePreferences.isPushRegistered(this) &&
|
||||
!isSecureText &&
|
||||
!seenInvite &&
|
||||
recipients.isSingleRecipient() &&
|
||||
recipients.getPrimaryRecipient() != null &&
|
||||
if (TextSecurePreferences.isPushRegistered(this) &&
|
||||
TextSecurePreferences.isShowInviteReminders(this) &&
|
||||
!isSecureText &&
|
||||
!seenInvite &&
|
||||
recipients.isSingleRecipient() &&
|
||||
recipients.getPrimaryRecipient() != null &&
|
||||
recipients.getPrimaryRecipient().getContactUri() != null)
|
||||
{
|
||||
InviteReminder reminder = new InviteReminder(this, recipients);
|
||||
|
||||
Reference in New Issue
Block a user