Hide disappearing header for note-to-self

This commit is contained in:
andrew 2023-09-14 19:21:39 +09:30
parent 14938d2cc0
commit 349247e7f3

View File

@ -697,7 +697,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
}
private fun setUpOutdatedClientBanner() {
val recipient = viewModel.recipient ?: return
val recipient = viewModel.recipient?.takeIf { !it.isLocalNumber } ?: return
if (ExpirationConfiguration.isNewConfigEnabled && recipient.isContactRecipient &&
recipient.disappearingState == DisappearingState.LEGACY &&
viewModel.expirationConfiguration?.isEnabled == true