Comment remaining non-cross-signing-compliant components
Fixes https://github.com/vector-im/riot-web/issues/11748
This commit is contained in:
parent
f9216ea590
commit
2125bcf5a6
3 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,9 @@ import { _t } from '../../../languageHandler';
|
||||||
const sdk = require('../../../index');
|
const sdk = require('../../../index');
|
||||||
const MatrixClientPeg = require("../../../MatrixClientPeg");
|
const MatrixClientPeg = require("../../../MatrixClientPeg");
|
||||||
|
|
||||||
|
// XXX: This component is not cross-signing aware.
|
||||||
|
// https://github.com/vector-im/riot-web/issues/11752 tracks either updating this
|
||||||
|
// component or taking it out to pasture.
|
||||||
module.exports = createReactClass({
|
module.exports = createReactClass({
|
||||||
displayName: 'EncryptedEventDialog',
|
displayName: 'EncryptedEventDialog',
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,8 @@ import sdk from '../../../index';
|
||||||
import Modal from '../../../Modal';
|
import Modal from '../../../Modal';
|
||||||
import { _t } from '../../../languageHandler';
|
import { _t } from '../../../languageHandler';
|
||||||
|
|
||||||
|
// XXX: This component is *not* cross-signing aware. Once everything is
|
||||||
|
// cross-signing, this component should just go away.
|
||||||
export default createReactClass({
|
export default createReactClass({
|
||||||
displayName: 'DeviceVerifyButtons',
|
displayName: 'DeviceVerifyButtons',
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ import classNames from 'classnames';
|
||||||
export default class MemberDeviceInfo extends React.Component {
|
export default class MemberDeviceInfo extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
const DeviceVerifyButtons = sdk.getComponent('elements.DeviceVerifyButtons');
|
const DeviceVerifyButtons = sdk.getComponent('elements.DeviceVerifyButtons');
|
||||||
|
// XXX: These checks are not cross-signing aware but this component is only used
|
||||||
|
// from the old, pre-cross-signing memberinfopanel
|
||||||
const iconClasses = classNames({
|
const iconClasses = classNames({
|
||||||
mx_MemberDeviceInfo_icon: true,
|
mx_MemberDeviceInfo_icon: true,
|
||||||
mx_MemberDeviceInfo_icon_blacklisted: this.props.device.isBlocked(),
|
mx_MemberDeviceInfo_icon_blacklisted: this.props.device.isBlocked(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue