perf: also consider nick

This commit is contained in:
Soulter
2025-06-28 21:51:10 +08:00
parent 244fb1fed6
commit 073cdf6d51
@@ -307,7 +307,7 @@ class AiocqhttpAdapter(Platform):
user_id=int(m["data"]["qq"]),
)
if at_info:
nickname = at_info.get("nickname", "")
nickname = at_info.get("nick", "") or at_info.get("nickname", "")
is_at_self = str(m["data"]["qq"]) in {abm.self_id, "all"}
abm.message.append(