From 75881273d5cd46b78e379e4157f637ea5baa55d7 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 19 Aug 2020 11:36:54 +1000 Subject: [PATCH] Fix crash --- .../securesms/conversation/ConversationActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java index ed9620997d..4dab4651c6 100644 --- a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java @@ -1533,9 +1533,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity } private void onSecurityUpdated() { - Log.i(TAG, "onSecurityUpdated()"); - updateReminders(recipient.hasSeenInviteReminder()); - updateDefaultSubscriptionId(recipient.getDefaultSubscriptionId()); + if (recipient != null) { + updateDefaultSubscriptionId(recipient.getDefaultSubscriptionId()); + } } protected void updateReminders(boolean seenInvite) {