fix userMe in ForwardService

This commit is contained in:
Nofated095 2024-01-31 21:53:29 +08:00
parent 575f3284b0
commit 2ed24c5579
1 changed files with 0 additions and 5 deletions

View File

@ -365,11 +365,6 @@ export default class ForwardService {
}
}
if (this.instance.workMode === 'personal' && event.message_type === 'group' && event.atme && !replyTo) {
message += `\n<b>@${this.instance.userMe.usernames?.length ?
this.instance.userMe.usernames[0].username :
this.instance.userMe.username}</b>`;
}
// 发送消息
const messageToSend: SendMessageParams = {