临时会话会触发伪人模式的bug

This commit is contained in:
Proito 2025-04-24 02:44:31 +08:00 committed by GitHub
parent aeeba08893
commit c0ed3a4a53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -486,7 +486,7 @@ export class chatgpt extends plugin {
if (!msg || e.msg?.startsWith('#')) {
return false
}
if ((e.isGroup || e.group_id) && !(e.atme || e.atBot || (e.at === e.self_id))) {
if ((e.isGroup) && !(e.atme || e.atBot || (e.at === e.self_id))) {
return false
}
if (e.user_id == getUin(e)) return false