oicq-icalingua-plus-plus 1.26.22 → 1.26.24
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/parser.js +3 -1
- package/package.json +3 -3
package/lib/message/parser.js
CHANGED
|
@@ -14,6 +14,7 @@ const { buildImageFileParam, groupNTPicDown, offNTPicDown, checkImgUrl, getNTPic
|
|
|
14
14
|
const { Gfs, getC2CFileUrl, getSyncDeviceFileUrl } = require("./file");
|
|
15
15
|
const { getVideoUrl, getPttUrl, getOffNTPttUrl, getGroupNTPttUrl, getOffNTVideoUrl, getGroupNTVideoUrl } = require("./ptt");
|
|
16
16
|
const { genC2CMessageId, genGroupMessageId, timestamp, parseFunString, code2uin, genRandom, unzip } = require("../common");
|
|
17
|
+
const { uid2uin } = require("../core/friendlist");
|
|
17
18
|
|
|
18
19
|
function escapeCQInside(s) {
|
|
19
20
|
if (s === "&") return "&";
|
|
@@ -759,7 +760,8 @@ class Parser {
|
|
|
759
760
|
text: ""
|
|
760
761
|
}
|
|
761
762
|
};
|
|
762
|
-
let seq = elem[1], user_id = elem[2]
|
|
763
|
+
let seq = elem[1], user_id = elem[2], user_uid = elem[8] ? elem[8][6] : '';
|
|
764
|
+
if (!user_id && user_uid) user_id = await uid2uin.call(this.c, user_uid); // 某些第三方实现不塞uin只塞uid
|
|
763
765
|
let replyed = elem[5] ? (Array.isArray(elem[5]) ? elem[5] : [elem[5]]) : [];
|
|
764
766
|
let original = elem[9];
|
|
765
767
|
if (this.gid) {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oicq-icalingua-plus-plus",
|
|
3
3
|
"app_name": "oicq-icalingua-plus-plus",
|
|
4
|
-
"version": "1.26.
|
|
5
|
-
"app_version": "1.26.
|
|
6
|
-
"upday": "2026/
|
|
4
|
+
"version": "1.26.24",
|
|
5
|
+
"app_version": "1.26.24",
|
|
6
|
+
"upday": "2026/09/03",
|
|
7
7
|
"protocol_version": "v11",
|
|
8
8
|
"description": "oicq(https://github.com/takayama-lily/oicq) v1 for Icalingua++",
|
|
9
9
|
"main": "index.js",
|