@@ -45,7 +45,8 @@ function UserUnknownDeviceList(props) {
45
45
const { userId, userDevices} = props ;
46
46
47
47
const deviceListEntries = Object . keys ( userDevices ) . map ( ( deviceId ) =>
48
- < DeviceListEntry key = { deviceId } userId = { userId } device = { userDevices [ deviceId ] } /> ,
48
+ < DeviceListEntry key = { deviceId } userId = { userId }
49
+ device = { userDevices [ deviceId ] } /> ,
49
50
) ;
50
51
51
52
return (
@@ -105,14 +106,19 @@ export default React.createClass({
105
106
106
107
render : function ( ) {
107
108
const client = MatrixClientPeg . get ( ) ;
108
- const blacklistUnverified = client . getGlobalBlacklistUnverifiedDevices ( ) || this . props . room . getBlacklistUnverifiedDevices ( ) ;
109
+ const blacklistUnverified = client . getGlobalBlacklistUnverifiedDevices ( ) ||
110
+ this . props . room . getBlacklistUnverifiedDevices ( ) ;
109
111
110
112
let warning ;
111
113
if ( blacklistUnverified ) {
112
- warning = < h4 > You are currently blacklisting unverified devices; to send messages to these devices you must verify them.</ h4 >
113
- }
114
- else {
115
- warning = < h4 > We strongly recommend you verify them before continuing.</ h4 >
114
+ warning = (
115
+ < h4 >
116
+ You are currently blacklisting unverified devices; to send
117
+ messages to these devices you must verify them.
118
+ </ h4 >
119
+ ) ;
120
+ } else {
121
+ warning = < h4 > We strongly recommend you verify them before continuing.</ h4 > ;
116
122
}
117
123
118
124
const BaseDialog = sdk . getComponent ( 'views.dialogs.BaseDialog' ) ;
@@ -122,7 +128,10 @@ export default React.createClass({
122
128
title = 'Room contains unknown devices'
123
129
>
124
130
< div className = "mx_Dialog_content" >
125
- < h4 > This room contains unknown devices which have not been verified.</ h4 >
131
+ < h4 >
132
+ This room contains unknown devices which have not been
133
+ verified.
134
+ </ h4 >
126
135
{ warning }
127
136
Unknown devices:
128
137
< UnknownDeviceList devices = { this . props . devices } />
0 commit comments