Merge pull request #3172 from yougotwill/fix/no-ref/create_group_joinedat

Set last joined timestamp when we create a group
pull/3173/head
Audric Ackermann 8 months ago committed by GitHub
commit 18a7630582
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,6 +38,7 @@ export async function createClosedGroup(groupName: string, members: Array<string
groupPublicKey,
ConversationTypeEnum.GROUP
);
convo.set('lastJoinedTimestamp', Date.now());
await convo.setIsApproved(true, false);
// Ensure the current user is a member

Loading…
Cancel
Save