Skip to content

Commit 1a5f782

Browse files
committed
fix(misc): fix #343 download attachment type error
1 parent 56708ee commit 1a5f782

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

README.MD

+6-2
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ WeChatFerry
204204

205205
## 版本更新
206206

207-
### v39.4.1
207+
### v39.4.2
208208

209-
* 修复乱码问题
209+
* 修复附件下载类型错误
210210

211211
<details><summary>点击查看更多</summary>
212212

@@ -218,6 +218,10 @@ WeChatFerry
218218
* `y``WeChatFerry` 的版本,从 0 开始
219219
* `z` 是各客户端的版本,从 0 开始
220220

221+
### v39.4.1
222+
223+
* 修复乱码问题。
224+
221225
### v39.4.0
222226

223227
* 重构代码,适配 `3.9.12.17`

WeChatFerry/spy/misc_manager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ int download_attachment(uint64_t id, const fs::path &thumb, const fs::path &extr
186186
QWORD pChatMsg = NewChatMsg(buff);
187187
GetChatMgr();
188188
GetMgrByPrefixLocalId(l.QuadPart, pChatMsg);
189-
QWORD type = util::get_qword(reinterpret_cast<QWORD>(buff) + 0x38);
189+
QWORD type = util::get_dword(reinterpret_cast<QWORD>(buff) + 0x38);
190190

191191
fs::path save_path, thumb_path;
192192
switch (type) {

WeChatFerry/spy/spy.rc

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ END
5151
//
5252

5353
VS_VERSION_INFO VERSIONINFO
54-
FILEVERSION 39,4,1,0
54+
FILEVERSION 39,4,2,0
5555
PRODUCTVERSION 3,9,12,17
5656
FILEFLAGSMASK 0x3fL
5757
#ifdef _DEBUG
@@ -69,7 +69,7 @@ BEGIN
6969
BEGIN
7070
VALUE "CompanyName", "WeChatFerry"
7171
VALUE "FileDescription", "WeChatFerry"
72-
VALUE "FileVersion", "39.4.1.0"
72+
VALUE "FileVersion", "39.4.2.0"
7373
VALUE "InternalName", "spy.dll"
7474
VALUE "LegalCopyright", "Copyright (C) 2023"
7575
VALUE "OriginalFilename", "spy.dll"

0 commit comments

Comments
 (0)