Always share profile on send; no profile sharing UI if no messages

This commit is contained in:
Scott Nonnenberg 2020-10-28 17:40:50 -07:00 committed by GitHub
parent 8eea20ea91
commit cd9aee84f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 6 deletions

View file

@ -462,7 +462,7 @@ export async function mergeGroupV2Record(
updateConversation(conversation.attributes);
const isGroupNewToUs = !isNumber(conversation.get('revision'));
const isFirstSync = !isNumber(window.storage.get('manifestVersion'));
const isFirstSync = !window.storage.get('storageFetchComplete');
const dropInitialJoinMessage = isFirstSync;
// We don't need to update GroupV2 groups all the time. We fetch group state the first