mirror of https://github.com/Nofated095/Q2TG.git
fix userMe in ForwardService
This commit is contained in:
parent
575f3284b0
commit
2ed24c5579
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue