Combine cross signing and verification over DM feature flags
This means we can just make the new member info panel support cross-signing exclusively rather than having to try & make it temporarily support both
This commit is contained in:
parent
f30e919f9e
commit
3d8422c88a
4 changed files with 4 additions and 11 deletions
|
@ -97,7 +97,7 @@ export default class DeviceVerifyDialog extends React.Component {
|
|||
const client = MatrixClientPeg.get();
|
||||
const verifyingOwnDevice = this.props.userId === client.getUserId();
|
||||
try {
|
||||
if (!verifyingOwnDevice && SettingsStore.getValue("feature_dm_verification")) {
|
||||
if (!verifyingOwnDevice && SettingsStore.getValue("feature_cross_signing")) {
|
||||
const roomId = await ensureDMExistsAndOpen(this.props.userId);
|
||||
// throws upon cancellation before having started
|
||||
this._verifier = await client.requestVerificationDM(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue