fix(adapter): CLARIFY-Exklusion in Button-Detection — False-Positive BUTTON_CLICK bei CLARIFY-Antworten
This commit is contained in:
+1
-1
@@ -580,7 +580,7 @@ class RocketChatAdapter(BasePlatformAdapter):
|
||||
msg_obj.get("actions") and
|
||||
msg_obj.get("params", {}).get("triggerSender") and
|
||||
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:"))
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user