-
Notifications
You must be signed in to change notification settings - Fork 12
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct Message: Manage encrypted DM in case of invite by email #372
Comments
Currently in Element DMs can be group DMs so the logic here around blocking several email users will not work |
Hi @gaelledel , here is a new proposal that can hopefully be a better fit. When a user creates a DM and invites others by email, and encryption is activated, we risk having undecryptable messages for the users that have not joined yet. Proposed (ugly) mockups : Step 1 - Before the two invited users have created their account : message bar is disabled, replaced by an explanatory message (inspired by the interface for previewing a room, which also blocks writing messages) Step 2 - One user has created their account, still waiting for the 2nd user : Step 3 - When both users have created their account, the risk of undecryptable messages is over : we go back to the normal DM interface, with a message bar enabled. Impact on Element-web Let us know if that sounds acceptable, and let's discuss further if it's not. Thanks ! |
Hello @gaelledel 👋 did you had time to take a look at our proposition ? |
Tchap ticket tchapgouv/tchap-web-v4#63 |
@jdauphant @estellecomment Thank you, I am taking note of your suggestions. Will be tackling this sometime this week |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Currently this is possible to start a new DM by filling an email address.
The resulting DM is an unencrypted room (even if the encryption should be enabled by default according to the HS well-known configuration) because there is no way to encrypt message in this room until an actual matrix account has joined the DM:
The purpose is to let the end user start sending messages before the invited contact creates the contact and joins, but there is some concerns:
I would suggest here creating encrypted DM when the end user starts a DM by selecting an email address, as soon as the encryption is supposed to be enabled by default (well-known HS configuration). I would hide the resulting DM until the third party invite is accepted by a matrix account. The DM would be displayed in the people section only when the DM would have at least 2 members.
For that we should:
The text was updated successfully, but these errors were encountered: