fix: set last joined timestamp when we create a group

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

@ -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