Always use profile keys from group state

This commit is contained in:
Fedor Indutny 2022-02-24 12:00:30 -08:00 committed by GitHub
parent 5e113f8975
commit ebd1ca5895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2721,7 +2721,7 @@ async function updateGroup(
if (
member.profileKey &&
member.profileKey.length > 0 &&
!contact.get('profileKey')
contact.get('profileKey') !== member.profileKey
) {
contactsWithoutProfileKey.push(contact);
contact.setProfileKey(member.profileKey);