fix: set last joined timestamp when we create a group

pull/3172/head
yougotwill 9 months ago
parent e1b736440e
commit 0139738d26

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

Loading…
Cancel
Save