Do not show modern profile sharing on brand new conversations.
This commit is contained in:
parent
9fb85f7c76
commit
ba1df58eb3
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ final class MessageRequestRepository {
|
|||
}
|
||||
|
||||
return MessageRequestState.REQUIRED;
|
||||
} else if (FeatureFlags.modernProfileSharing() && !RecipientUtil.isLegacyProfileSharingAccepted(recipient)) {
|
||||
} else if (FeatureFlags.modernProfileSharing() && !RecipientUtil.isLegacyProfileSharingAccepted(recipient) && threadId > 0) {
|
||||
return MessageRequestState.REQUIRED;
|
||||
} else if (RecipientUtil.isPreMessageRequestThread(context, threadId) && !RecipientUtil.isLegacyProfileSharingAccepted(recipient)) {
|
||||
return MessageRequestState.PRE_MESSAGE_REQUEST;
|
||||
|
|
Loading…
Add table
Reference in a new issue