oicq-icalingua-plus-plus 1.22.1 → 1.22.2

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/index.d.ts CHANGED
@@ -975,7 +975,7 @@ export class Client extends EventEmitter {
975
975
  * 制作一个合并转发消息,得到的XmlElem可直接发送
976
976
  * @param dm 默认(false)以群模式上传图片,设为true则以私聊模式上传图片
977
977
  */
978
- makeForwardMsg(fakes: FakeMessage | Iterable<FakeMessage>, dm?: boolean): Promise<Ret<XmlElem>>;
978
+ makeForwardMsg(fakes: FakeMessage | Iterable<FakeMessage>, dm?: boolean, target?: number): Promise<Ret<XmlElem>>;
979
979
 
980
980
  /** 发简易群公告 */
981
981
  sendGroupNotice(group_id: number, content: string): Promise<Ret>;
package/lib/client.js CHANGED
@@ -375,7 +375,7 @@ class Client extends EventEmitter {
375
375
  getForwardMsg(id) {
376
376
  return this._useProtocol(chat.getForwardMsg, arguments);
377
377
  }
378
- makeForwardMsg(fakes, dm = false) {
378
+ makeForwardMsg(fakes, dm = false, target = 0) {
379
379
  return this._useProtocol(multi.makeForwardMsg, arguments);
380
380
  }
381
381
 
package/lib/device.js CHANGED
@@ -129,31 +129,31 @@ const apk = {
129
129
  //android phone
130
130
  1: {
131
131
  id: "com.tencent.mobileqq",
132
- name: "A8.4.1.2703aac4",
133
- version: "8.4.1.2703",
134
- ver: "8.4.1",
132
+ name: "A8.8.80.7400",
133
+ version: "8.8.80.7400",
134
+ ver: "8.8.80",
135
135
  sign: Buffer.from([166, 183, 69, 191, 36, 162, 194, 119, 82, 119, 22, 246, 243, 110, 182, 141]),
136
- buildtime: 1591690260,
136
+ buildtime: 1640921786,
137
137
  appid: 16,
138
- subid: 537064989,
138
+ subid: 537113159,
139
139
  bitmap: 184024956,
140
140
  sigmap: 34869472,
141
- sdkver: "6.0.0.2428",
141
+ sdkver: "6.0.0.2494",
142
142
  },
143
143
 
144
144
  //apad
145
145
  2: {
146
146
  id: "com.tencent.minihd.qq",
147
- name: "A5.8.9.3460",
148
- version: "5.8.9.3460",
149
- ver: "5.8.9",
147
+ name: "A5.9.3.3468",
148
+ version: "5.9.3.3468",
149
+ ver: "5.9.3",
150
150
  sign: Buffer.from([170, 57, 120, 244, 31, 217, 111, 249, 145, 74, 102, 158, 24, 100, 116, 199]),
151
- buildtime: 1595836208,
151
+ buildtime: 1637427966,
152
152
  appid: 16,
153
- subid: 537065549,
153
+ subid: 537067382,
154
154
  bitmap: 150470524,
155
155
  sigmap: 1970400,
156
- sdkver: "6.0.0.2433",
156
+ sdkver: "6.0.0.2487",
157
157
  }
158
158
  };
159
159
 
@@ -51,7 +51,7 @@ function buildFaceElem(id) {
51
51
  * @this {import("../ref").Client}
52
52
  * @param {import("../ref").FakeMessage[]} iterable
53
53
  */
54
- async function makeForwardMsg(iterable, dm = false) {
54
+ async function makeForwardMsg(iterable, dm = false, target = 0) {
55
55
 
56
56
  if (typeof iterable[Symbol.iterator] !== "function")
57
57
  iterable = [iterable];
@@ -122,14 +122,14 @@ async function makeForwardMsg(iterable, dm = false) {
122
122
  nodes.push({
123
123
  1: {
124
124
  1: fake.user_id,
125
- 2: this.uin,
125
+ 2: !target ? this.uin : target,
126
126
  3: dm ? 166 : 82,
127
127
  4: dm ? 11 : null,
128
128
  5: seq,
129
129
  6: fake.time || common.timestamp(),
130
130
  7: common.genMessageUuid(random),
131
131
  9: dm ? null : {
132
- 1: this.uin,
132
+ 1: !target ? this.uin : target,
133
133
  4: fake.nickname,
134
134
  },
135
135
  14: fake.nickname,
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.22.1",
5
- "app_version": "1.22.1",
4
+ "version": "1.22.2",
5
+ "app_version": "1.22.2",
6
6
  "upday": "2022/05/04",
7
7
  "protocol_version": "v11",
8
8
  "description": "oicq(https://github.com/takayama-lily/oicq) v1 for Icalingua++",