fix: we need to apply invitePending state when creating group

from the user config
pull/3281/head
Audric Ackermann 10 months ago
parent e67b1b0599
commit 5cda9ad0f3
No known key found for this signature in database

@ -741,6 +741,7 @@ async function handleSingleGroupUpdate({
lastJoinedTimestamp: joinedAt,
expireTimer,
expirationMode: expireTimer ? 'deleteAfterSend' : 'off',
didApproveMe: groupInWrapper.invitePending,
});
await created.commit();
getSwarmPollingInstance().addGroupId(PubKey.cast(groupPk));

Loading…
Cancel
Save