Onboarding story improvements

This commit is contained in:
Josh Perez 2022-11-17 12:35:27 -05:00 committed by GitHub
parent 0bcc84facb
commit 1b16743917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 9 deletions

View file

@ -417,6 +417,13 @@ export class ConversationController {
profileSharing: true,
});
if (conversation.get('profileAvatar')?.path !== SIGNAL_AVATAR_PATH) {
conversation.set({
profileAvatar: { hash: SIGNAL_AVATAR_PATH, path: SIGNAL_AVATAR_PATH },
});
updateConversation(conversation.attributes);
}
this._signalConversationId = conversation.id;
return conversation;