No encryption for public room (#1314)

This commit is contained in:
Benoit Marty 2020-11-18 15:27:59 +01:00
parent 0c7f4c2af5
commit 702d21fbc3

View file

@ -116,7 +116,7 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
listener?.setAliasLocalPart(value)
}
}
}
} else {
formSwitchItem {
id("encryption")
enabled(enableFormElement)
@ -134,6 +134,7 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
listener?.setIsEncrypted(value)
}
}
}
formAdvancedToggleItem {
id("showAdvanced")
title(stringProvider.getString(if (viewState.showAdvanced) R.string.hide_advanced else R.string.show_advanced))