mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 16:00:27 +00:00
fix #98
This commit is contained in:
@@ -93,8 +93,8 @@ class MessageUniqueWrapper {
|
||||
if (!heads) {
|
||||
return [];
|
||||
}
|
||||
let data = heads.map((t) => MessageUnique.getMsgIdAndPeerByShortId(t.value));
|
||||
let ret = data.filter((t) => t?.Peer.chatType === Peer.chatType && t?.Peer.peerUid === Peer.peerUid);
|
||||
const data = heads.map((t) => MessageUnique.getMsgIdAndPeerByShortId(t.value));
|
||||
const ret = data.filter((t) => t?.Peer.chatType === Peer.chatType && t?.Peer.peerUid === Peer.peerUid);
|
||||
return ret.map((t) => t?.MsgId).filter((t) => t !== undefined);
|
||||
}
|
||||
createMsg(peer: Peer, msgId: string): number | undefined {
|
||||
|
||||
Reference in New Issue
Block a user