mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: filtering at
segments when sending private chat messages
This commit is contained in:
parent
1fc02229df
commit
5d5fd403b8
@ -112,7 +112,7 @@ export async function createSendElements(
|
||||
sendElements.push(SendMsgElementConstructor.at(atQQ, atQQ, AtType.atAll, '全体成员'))
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if (peer.chatType === ChatType.group) {
|
||||
// const atMember = group?.members.find(m => m.uin == atQQ)
|
||||
const atMember = await getGroupMember(peer.peerUid, atQQ)
|
||||
if (atMember) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user