-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove manual device verification which is not supported by the new cryptography stack #28588
base: develop
Are you sure you want to change the base?
Remove manual device verification which is not supported by the new cryptography stack #28588
Conversation
d4b922f
to
9d452d5
Compare
9d452d5
to
1b35526
Compare
js-sdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm otherwise
js-sdk
I think this fixes #27201 ? |
@@ -56,9 +56,6 @@ const UntrustedDeviceDialog: React.FC<IProps> = ({ device, user, onFinished }) = | |||
<p>{askToVerifyText}</p> | |||
</div> | |||
<div className="mx_Dialog_buttons"> | |||
<AccessibleButton kind="primary_outline" onClick={() => onFinished("legacy")}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type definition for IProps
above needs an update: legacy
is never returned now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(While we're at it: why not fix the type so that it something less random than "sas" | false
. And document it.)
const verificationRequestPromise = matrixClient | ||
.getCrypto() | ||
?.requestDeviceVerification(user.userId, device.deviceId); | ||
setRightPanel({ member: user, verificationRequestPromise }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing the condition on action
looks incorrect here.
Checklist
public
/exported
symbols have accurate TSDoc documentation.Task #26922
Closes #27201