fix(adapter): CLARIFY-Exklusion in Button-Detection — False-Positive BUTTON_CLICK bei CLARIFY-Antworten

This commit is contained in:
Bernd (Hermes)
2026-06-16 05:18:49 +02:00
parent a1fc4cc9b5
commit 1f7054eab8
+1 -1
View File
@@ -580,7 +580,7 @@ class RocketChatAdapter(BasePlatformAdapter):
msg_obj.get("actions") and msg_obj.get("actions") and
msg_obj.get("params", {}).get("triggerSender") and msg_obj.get("params", {}).get("triggerSender") and
msg_obj.get("params", {}).get("payload")) msg_obj.get("params", {}).get("payload"))
or (text and "::" in text and text.split("::", 1)[0].strip() != "") or (text and "::" in text and not text.startswith("CLARIFY:") and text.split("::", 1)[0].strip() != "")
or (text and text.startswith("CLARIFY:")) or (text and text.startswith("CLARIFY:"))
) )