release: new group

This commit is contained in:
手瓜一十雪
2024-08-12 18:22:06 +08:00
parent ffb08bb876
commit 3dc487507a
2 changed files with 17 additions and 0 deletions

View File

@@ -481,6 +481,7 @@ export class NapCatOneBot11Adapter {
let operatorId = message.senderUin;
for (const element of message.elements) {
const operatorUid = element.grayTipElement?.revokeElement.operatorUid;
if(!operatorUid) return;
const operator = await this.core.apis.GroupApi.getGroupMember(message.peerUin, operatorUid);
operatorId = operator?.uin || message.senderUin;
}