diff --git a/src/components/views/dialogs/UnknownDeviceDialog.js b/src/components/views/dialogs/UnknownDeviceDialog.js index e99c423206..178dd55657 100644 --- a/src/components/views/dialogs/UnknownDeviceDialog.js +++ b/src/components/views/dialogs/UnknownDeviceDialog.js @@ -45,7 +45,8 @@ function UserUnknownDeviceList(props) { const {userId, userDevices} = props; const deviceListEntries = Object.keys(userDevices).map((deviceId) => - , + , ); return ( @@ -105,14 +106,19 @@ export default React.createClass({ render: function() { const client = MatrixClientPeg.get(); - const blacklistUnverified = client.getGlobalBlacklistUnverifiedDevices() || this.props.room.getBlacklistUnverifiedDevices(); + const blacklistUnverified = client.getGlobalBlacklistUnverifiedDevices() || + this.props.room.getBlacklistUnverifiedDevices(); let warning; if (blacklistUnverified) { - warning =

You are currently blacklisting unverified devices; to send messages to these devices you must verify them.

- } - else { - warning =

We strongly recommend you verify them before continuing.

+ warning = ( +

+ You are currently blacklisting unverified devices; to send + messages to these devices you must verify them. +

+ ); + } else { + warning =

We strongly recommend you verify them before continuing.

; } const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); @@ -122,7 +128,10 @@ export default React.createClass({ title='Room contains unknown devices' >
-

This room contains unknown devices which have not been verified.

+

+ This room contains unknown devices which have not been + verified. +

{ warning } Unknown devices: