You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Comment remaining non-cross-signing-compliant components
Fixes https://github.com/vector-im/riot-web/issues/11748
This commit is contained in:
@ -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(),
|
||||||
|
Reference in New Issue
Block a user