TryQuiet / quiet

A private, p2p alternative to Slack and Discord built on Tor & IPFS
https://www.tryquiet.org
GNU General Public License v3.0
1.98k stars 86 forks source link

Add Sigchain-powered invite links #2627

Open adrastaea opened 1 month ago

adrastaea commented 1 month ago

Description

Before we can sync a sigchain, we need to enable an invite flow which means that we must be able to create invites and share the invite secrets alongside other necessary connection info

Acceptance Criteria

  1. Long lived invite created when the invite link is generated
  2. Invite link includes invite secret
  3. Invite link is displayed in “Add members” UI / QR code
  4. Invite link is short enough to stay linkified / not be truncated in WhatsApp, Signal
  5. Failing to generate LFAInviteLink will generate InviteLinkV1 (e2e test compatibility feature)
  6. Test for generating valid invite link
islathehut commented 15 hours ago

Marking for posterity: