修复了图片解密失败的问题

This commit is contained in:
ace committed 2026-02-27 11:12:05 +08:00
1 parent 7365831ec1
commit ec0eb64ffd
9 files changed
+522 -267

No files matched your search

+2 -2
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(() => {