Fetch profiles for pending members

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2022-02-09 10:47:41 -08:00 committed by GitHub
parent bbeb145e5b
commit 4adc78e96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -4716,6 +4716,13 @@ async function applyGroupState({
if (groupState.membersPendingAdminApproval) {
result.pendingAdminApprovalV2 = groupState.membersPendingAdminApproval.map(
member => {
if (member.profileKey) {
newProfileKeys.push({
profileKey: member.profileKey,
uuid: UUID.cast(member.userId),
});
}
return {
uuid: UUID.cast(member.userId),
timestamp: member.timestamp,