Skip to content

Commit

Permalink
fix userMe in ForwardService
Browse files Browse the repository at this point in the history
  • Loading branch information
Nofated095 committed Jan 31, 2024
1 parent 575f328 commit 2ed24c5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/services/ForwardService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2ed24c5

Please sign in to comment.