This commit is contained in:
charles 2022-12-21 12:48:16 +11:00
parent 7d25fd9f4c
commit 4cfa8002d6

View File

@ -554,7 +554,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
val recipient = viewModel.recipient ?: return val recipient = viewModel.recipient ?: return
if (viewModel.recipient?.disappearingState == DisappearingState.LEGACY && if (viewModel.recipient?.disappearingState == DisappearingState.LEGACY &&
viewModel.expirationConfiguration?.isEnabled == true && viewModel.expirationConfiguration?.isEnabled == true &&
ExpirationConfiguration.isNewConfigEnabled !ExpirationConfiguration.isNewConfigEnabled
) { ) {
binding?.outdatedBannerTextView?.text = binding?.outdatedBannerTextView?.text =
resources.getString(R.string.activity_conversation_outdated_client_banner_text, recipient.name) resources.getString(R.string.activity_conversation_outdated_client_banner_text, recipient.name)