fix(misc): fix #343 download attachment type error
This commit is contained in:
@@ -186,7 +186,7 @@ int download_attachment(uint64_t id, const fs::path &thumb, const fs::path &extr
|
||||
QWORD pChatMsg = NewChatMsg(buff);
|
||||
GetChatMgr();
|
||||
GetMgrByPrefixLocalId(l.QuadPart, pChatMsg);
|
||||
QWORD type = util::get_qword(reinterpret_cast<QWORD>(buff) + 0x38);
|
||||
QWORD type = util::get_dword(reinterpret_cast<QWORD>(buff) + 0x38);
|
||||
|
||||
fs::path save_path, thumb_path;
|
||||
switch (type) {
|
||||
|
||||
@@ -51,7 +51,7 @@ END
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 39,4,1,0
|
||||
FILEVERSION 39,4,2,0
|
||||
PRODUCTVERSION 3,9,12,17
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
@@ -69,7 +69,7 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "WeChatFerry"
|
||||
VALUE "FileDescription", "WeChatFerry"
|
||||
VALUE "FileVersion", "39.4.1.0"
|
||||
VALUE "FileVersion", "39.4.2.0"
|
||||
VALUE "InternalName", "spy.dll"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2023"
|
||||
VALUE "OriginalFilename", "spy.dll"
|
||||
|
||||
Reference in New Issue
Block a user