text:qsTr("Allow viewing history without joining")
Layout.fillWidth:true
color:palette.text
ToolTip.text:qsTr("This is useful to see previews of the room or view it on public websites.")
ToolTip.visible:publicHistoryHover.hovered
ToolTip.delay:Nheko.tooltipDelay
HoverHandler{
id:publicHistoryHover
}
}
ComboBox{
id:visComboBox
model:[qsTr("Readable to anyone without joining the room"),qsTr("Past messages visible to all current members"),qsTr("Only visible to members who were invited or joined when the message was sent"),qsTr("Only visible to members who were joined when the message was sent")]
ToolTip.text:qsTr("How much of the history is visible to joined members. Changing this won't affect the visibility of already sent messages. It only applies to new messages.")