This commit is contained in:
手瓜一十雪 committed 2024-07-29 09:10:52 +08:00
1 parent 9837ef4f36
commit 330b086b8b
18 files changed
+119 -114

No files matched your search

+2 -2
View File
@@ -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 {