|
|
@@ -58,7 +58,7 @@ def _try_spawn(ctx: PipelineContext, af, last: dict) -> bool:
|
|
|
and now - last.get("dlg_open_t", 0.0) < 10.0:
|
|
|
smsg = str(dlg.get("sMsg", ""))
|
|
|
act = next((a for a in _LINK_RE.findall(smsg)
|
|
|
- if a not in ("exit",)), None)
|
|
|
+ if a != "exit"), None)
|
|
|
if act is not None:
|
|
|
body = json.dumps({"UserID": dlg.get("UserID", "999999999"),
|
|
|
"Act": f"@{act}",
|