element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
66 stars 11 forks source link

Invite to private rooms by link #2293

Open ara4n opened 4 months ago

ara4n commented 4 months ago

Your use case

What would you like to do?

Ability to invite users who are not yet on matrix to a room via a simple link, rather than via email address.

Why would you like to do it?

Simplify onboarding by not requiring complicated/fragile 3PID dances by simply sharing an invite link (like Discord) to invite users into a private space, rather than having to know their email address. Also makes it easier to invite people via signal or whatsapp or other out-of-band mechanisms.

How would you like to achieve it?

There's probably an MSC for this. You'd then add "invite by link" to the options you get when you hit the Invite button having created a private room.

Have you considered any alternatives?

The disadvantage is that such invite links could be passed around between users, and so make it easier for attackers to jump into private rooms (especially if they're not single use). However, the convenience probably outweighs that.

Additional context

https://blog.koehntopp.info/2024/02/13/the-matrix-trashfire.html#after-onboarding