Fetch profiles for pending members
This commit is contained in:
parent
4d21e1e22b
commit
bd9483ddee
1 changed files with 7 additions and 0 deletions
|
@ -4734,6 +4734,13 @@ async function applyGroupState({
|
||||||
if (groupState.membersPendingAdminApproval) {
|
if (groupState.membersPendingAdminApproval) {
|
||||||
result.pendingAdminApprovalV2 = groupState.membersPendingAdminApproval.map(
|
result.pendingAdminApprovalV2 = groupState.membersPendingAdminApproval.map(
|
||||||
member => {
|
member => {
|
||||||
|
if (member.profileKey) {
|
||||||
|
newProfileKeys.push({
|
||||||
|
profileKey: member.profileKey,
|
||||||
|
uuid: UUID.cast(member.userId),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
uuid: UUID.cast(member.userId),
|
uuid: UUID.cast(member.userId),
|
||||||
timestamp: member.timestamp,
|
timestamp: member.timestamp,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue