File tree Expand file tree Collapse file tree 1 file changed +0
-49
lines changed
vector/src/main/java/im/vector/app/features/roomprofile/settings Expand file tree Collapse file tree 1 file changed +0
-49
lines changed Original file line number Diff line number Diff line change @@ -145,54 +145,5 @@ class RoomSettingsController @Inject constructor(
145
145
id(" guestAccessDivider" )
146
146
}
147
147
}
148
- //
149
- // // Security
150
- // buildProfileSection(stringProvider.getString(R.string.room_profile_section_security))
151
-
152
- // data.globalCryptoConfig.invoke()?.let { globalConfig ->
153
- // if (globalConfig.globalBlockUnverifiedDevices) {
154
- // genericFooterItem {
155
- // id("globalConfig")
156
- // centered(false)
157
- // text(
158
- // span {
159
- // +host.stringProvider.getString(R.string.room_settings_global_block_unverified_info_text)
160
- // apply {
161
- // if (data.unverifiedDevicesInTheRoom.invoke() == true) {
162
- // +"\n"
163
- // +host.stringProvider.getString(R.string.some_devices_will_not_be_able_to_decrypt)
164
- // }
165
- // }
166
- // }.toEpoxyCharSequence()
167
- // )
168
- // itemClickAction {
169
- // host.callback?.openGlobalBlockSettings()
170
- // }
171
- // }
172
- // } else {
173
- // // per room setting is available
174
- // val shouldBlockUnverified = data.encryptToVerifiedDeviceOnly.invoke()
175
- // formSwitchItem {
176
- // id("send_to_unverified")
177
- // enabled(shouldBlockUnverified != null)
178
- // title(host.stringProvider.getString(R.string.encryption_never_send_to_unverified_devices_in_room))
179
- //
180
- // switchChecked(shouldBlockUnverified ?: false)
181
- //
182
- // apply {
183
- // if (shouldBlockUnverified == true && data.unverifiedDevicesInTheRoom.invoke() == true) {
184
- // summary(
185
- // host.stringProvider.getString(R.string.some_devices_will_not_be_able_to_decrypt)
186
- // )
187
- // } else {
188
- // summary(null)
189
- // }
190
- // }
191
- // listener { value ->
192
- // host.callback?.setEncryptedToVerifiedDevicesOnly(value)
193
- // }
194
- // }
195
- // }
196
- // }
197
148
}
198
149
}
You can’t perform that action at this time.
0 commit comments