Merge pull request #324 from StarsUnsurpass/main

图片解密wxid后加上后缀 简单重写了视频解密
This commit is contained in:
xuncha
2026-02-27 13:50:45 +08:00
committed by GitHub
9 changed files with 522 additions and 267 deletions

View File

@@ -3543,7 +3543,7 @@ function MessageBubble({
videoLoadingRef.current = true
setVideoLoading(true)
try {
const result = await window.electronAPI.video.getVideoInfo(videoMd5)
const result = await window.electronAPI.video.getVideoInfo(videoMd5, session.username)
if (result && result.success && result.exists) {
setVideoInfo({
exists: result.exists,
@@ -3560,7 +3560,7 @@ function MessageBubble({
videoLoadingRef.current = false
setVideoLoading(false)
}
}, [videoMd5])
}, [videoMd5, session.username])
// 视频进入视野时自动加载
useEffect(() => {