mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
The mention alias-learning fed every identifier of every mention in a delivery into the per-chat alias cache. A single delivery of "@bot @alice" matched the bot by its global id and then learned alice's openId as a bot alias, so every later "@alice" message was misdetected as @bot and the agent replied to messages never addressed to it. Only single-mention deliveries are unambiguous bot identities, so restrict alias learning to them — a multi-mention delivery mixes the bot with co-mentioned humans, and Feishu's dual-delivery alias form is itself a single mention, so this is safe and keeps the learning feature working. Also cap the per-chat alias set size. Adds a [bot, human] co-mention regression test. |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| pom.xml | ||
| settings.xml | ||