diff --git a/plugin/adapter.py b/plugin/adapter.py index bea9caf..7b39e55 100644 --- a/plugin/adapter.py +++ b/plugin/adapter.py @@ -568,7 +568,7 @@ class RocketChatAdapter(BasePlatformAdapter): msg_obj.get("actions") and msg_obj.get("params", {}).get("triggerSender") and msg_obj.get("params", {}).get("payload")) - or "::" in text + or (text and "::" in text and text.split("::", 1)[0].strip() != "") or (text and text.startswith("CLARIFY:")) )