oicq-icalingua-plus-plus 1.24.7 → 1.24.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/message/image.js +3 -3
- package/package.json +2 -2
package/lib/message/image.js
CHANGED
|
@@ -740,14 +740,14 @@ async function getNTPicURLbyFileid(fileid) {
|
|
|
740
740
|
let url = "";
|
|
741
741
|
if ([1406, 1407].includes(appidInFileId)) {
|
|
742
742
|
const newRkey = appidInFileId === 1406 ? await getOffNTPicRkey.call(this) : await getGroupNTPicRkey.call(this);
|
|
743
|
-
url = `https://gchat.qpic.cn/download?appid=${appidInFileId}&fileid=${fileid}${newRkey}
|
|
743
|
+
url = `https://gchat.qpic.cn/download?appid=${appidInFileId}&fileid=${fileid}${newRkey}&spec=0`;
|
|
744
744
|
} else {
|
|
745
745
|
// 异常 fileid,只能挨个尝试
|
|
746
746
|
const groupNTPicRkey = await getGroupNTPicRkey.call(this);
|
|
747
|
-
url = `https://gchat.qpic.cn/download?appid=1407&fileid=${fileid}${groupNTPicRkey}
|
|
747
|
+
url = `https://gchat.qpic.cn/download?appid=1407&fileid=${fileid}${groupNTPicRkey}&spec=0`;
|
|
748
748
|
if (!(await checkImgUrl(data.url))) {
|
|
749
749
|
const offNTPicRkey = await getOffNTPicRkey.call(this);
|
|
750
|
-
url = `https://gchat.qpic.cn/download?appid=1406&fileid=${fileid}${offNTPicRkey}
|
|
750
|
+
url = `https://gchat.qpic.cn/download?appid=1406&fileid=${fileid}${offNTPicRkey}&spec=0`;
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
return url;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oicq-icalingua-plus-plus",
|
|
3
3
|
"app_name": "oicq-icalingua-plus-plus",
|
|
4
|
-
"version": "1.24.
|
|
5
|
-
"app_version": "1.24.
|
|
4
|
+
"version": "1.24.8",
|
|
5
|
+
"app_version": "1.24.8",
|
|
6
6
|
"upday": "2024/05/01",
|
|
7
7
|
"protocol_version": "v11",
|
|
8
8
|
"description": "oicq(https://github.com/takayama-lily/oicq) v1 for Icalingua++",
|