release: 1.7.9

This commit is contained in:
手瓜一十雪
2024-08-05 21:04:49 +08:00
parent 096a7534e0
commit 16b1a6b153
7 changed files with 26 additions and 17 deletions

View File

@@ -100,7 +100,7 @@ class MessageUniqueWrapper {
createMsg(peer: Peer, msgId: string): number | undefined {
const key = `${msgId}|${peer.chatType}|${peer.peerUid}`;
const hash = crypto.createHash('md5').update(key);
const shortId = hash.digest().readInt32BE(0);
const shortId = hash.digest().readUInt32BE(0);
//减少性能损耗
// const isExist = this.msgIdMap.getKey(shortId);
// if (isExist && isExist === msgId) {

View File

@@ -1 +1 @@
export const version = '1.7.8';
export const version = '1.7.9';

View File

@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.7.8', 'napcat-update-button', 'secondary')
SettingButton('V1.7.9', 'napcat-update-button', 'secondary')
),
]),
SettingList([