diff --git a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java index d07efde756..998d08fd26 100644 --- a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java @@ -1671,7 +1671,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity updateDefaultSubscriptionId(recipient.getDefaultSubscriptionId()); initializeSecurity(isSecureText, isDefaultSms); - if (!searchViewItem.isActionViewExpanded()) { + if (searchViewItem == null || !searchViewItem.isActionViewExpanded()) { invalidateOptionsMenu(); } });