Hide "Reply in Thread" message action if we don't have threads enabled

This commit is contained in:
Joshua Goins
2026-01-14 21:03:07 -05:00
parent f305cb849f
commit 1e461658b8

View File

@@ -173,7 +173,7 @@ KirigamiComponents.ConvergentContextMenu {
Kirigami.Action {
id: replyThreadAction
visible: root.messageComponentType !== MessageComponentType.Other || NeoChatConfig.relateAnyEvent
visible: (root.messageComponentType !== MessageComponentType.Other || NeoChatConfig.relateAnyEvent) && NeoChatConfig.threads
text: i18nc("@action:inmenu", "Reply in Thread")
icon.name: "dialog-messages"
onTriggered: {