mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 04:07:26 +00:00
Do not show modern profile sharing on brand new conversations.
This commit is contained in:
@@ -99,7 +99,7 @@ final class MessageRequestRepository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return MessageRequestState.REQUIRED;
|
return MessageRequestState.REQUIRED;
|
||||||
} else if (FeatureFlags.modernProfileSharing() && !RecipientUtil.isLegacyProfileSharingAccepted(recipient)) {
|
} else if (FeatureFlags.modernProfileSharing() && !RecipientUtil.isLegacyProfileSharingAccepted(recipient) && threadId > 0) {
|
||||||
return MessageRequestState.REQUIRED;
|
return MessageRequestState.REQUIRED;
|
||||||
} else if (RecipientUtil.isPreMessageRequestThread(context, threadId) && !RecipientUtil.isLegacyProfileSharingAccepted(recipient)) {
|
} else if (RecipientUtil.isPreMessageRequestThread(context, threadId) && !RecipientUtil.isLegacyProfileSharingAccepted(recipient)) {
|
||||||
return MessageRequestState.PRE_MESSAGE_REQUEST;
|
return MessageRequestState.PRE_MESSAGE_REQUEST;
|
||||||
|
Reference in New Issue
Block a user