Skip to content

Confirm before inviting unknown users to a DM/room#33171

Open
richvdh wants to merge 8 commits intodevelopfrom
rav/unknown_identity_users_warning_dialog
Open

Confirm before inviting unknown users to a DM/room#33171
richvdh wants to merge 8 commits intodevelopfrom
rav/unknown_identity_users_warning_dialog

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented Apr 16, 2026

Before we invite a user whose cryptographic identity is unknown to us to a DM/room, we want to prompt the user for confirmation.

Fixes: element-hq/element-meta#3163

Screenshots:

image
image

Comment thread apps/web/src/components/views/dialogs/InviteDialog.tsx Fixed
Factor out the logic of calling `startDm` or `inviteUsers` to a helper
function. We're going to need to call this from a second location soon, so this
is useful groundwork.
Comment thread apps/web/src/components/views/dialogs/InviteDialog.tsx
Comment thread apps/web/src/components/views/dialogs/InviteDialog.tsx Outdated
Comment thread apps/web/src/i18n/strings/en_EN.json
Copy link
Copy Markdown
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Dave's comments (except not particularly keen on making a new component) but nothing else to add from me. Approving so I'm not blocking the process when Dave's comments are resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

History sharing: Warn the user if they are inviting someone they haven't previously TOFUed

3 participants