returnqsTr("Event expiration for %1").arg(roomName);
}
else{
returnqsTr("Event expiration");
}
}
Shortcut{
sequence:StandardKey.Cancel
onActivated:dbb.rejected()
}
ColumnLayout{
spacing:Nheko.paddingMedium
anchors.margins:Nheko.paddingMedium
anchors.fill:parent
MatrixText{
id: promptLabel
text:{
if(roomid){
returnqsTr("You can configure when your messages will be deleted in %1. This only happens when Nheko is open and has permissions to delete messages until Matrix servers support this feature natively. In general 0 means disable.").arg(roomName);
}
else{
returnqsTr("You can configure when your messages will be deleted in all rooms unless configured otherwise. This only happens when Nheko is open and has permissions to delete messages until Matrix servers support this feature natively. In general 0 means disable.");
ToolTip.text:qsTr("If this is turned on, old state events also get redacted. The latest state event of any type+key combination is excluded from redaction to not remove the room name and similar state by accident.")