mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
refactor: remove mention field from at message
This commit is contained in:
parent
3d0b90db35
commit
4249f4e088
@ -65,7 +65,7 @@ export class OB11Constructor {
|
||||
if (element.textElement && element.textElement?.atType !== AtType.notAt) {
|
||||
message_data["type"] = OB11MessageDataType.at
|
||||
if (element.textElement.atType == AtType.atAll) {
|
||||
message_data["data"]["mention"] = "all"
|
||||
// message_data["data"]["mention"] = "all"
|
||||
message_data["data"]["qq"] = "all"
|
||||
} else {
|
||||
let atUid = element.textElement.atNtUid
|
||||
@ -77,7 +77,7 @@ export class OB11Constructor {
|
||||
}
|
||||
}
|
||||
if (atQQ) {
|
||||
message_data["data"]["mention"] = atQQ
|
||||
// message_data["data"]["mention"] = atQQ
|
||||
message_data["data"]["qq"] = atQQ
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user