Cache some volatile conversation properties
This commit is contained in:
parent
ba79595563
commit
f92f81dfd6
6 changed files with 157 additions and 92 deletions
|
@ -1033,8 +1033,7 @@ export function isMissingRequiredProfileSharing(
|
|||
doesConversationRequireIt &&
|
||||
!conversation.profileSharing &&
|
||||
window.Signal.RemoteConfig.isEnabled('desktop.mandatoryProfileSharing') &&
|
||||
conversation.messageCount &&
|
||||
conversation.messageCount > 0
|
||||
conversation.hasMessages
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue