mirror of https://github.com/Nofated095/Q2TG.git
fix: 导入消息后出现一堆撤回提示
This commit is contained in:
parent
e8c47c1038
commit
7874dfa0fb
|
@ -54,6 +54,8 @@ export default class DeleteMessageController {
|
|||
|
||||
private onTgDeletedMessage = async (event: DeletedMessageEvent) => {
|
||||
if (!(event.peer instanceof Api.PeerChannel)) return;
|
||||
// group anonymous bot
|
||||
if (event._entities?.get('1087968824')) return;
|
||||
const pair = this.instance.forwardPairs.find(event.peer.channelId);
|
||||
if (!pair) return;
|
||||
for (const messageId of event.deletedIds) {
|
||||
|
|
Loading…
Reference in New Issue