wechaty-web-panel 1.6.19 → 1.6.20

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## 更新日志
2
2
 
3
+ ### V1.6.20(2023-09-19)
4
+ 1、修复h5链接发送图片无效
5
+
3
6
  ### V1.6.18(2023-08-15)
4
7
  1、优化自定义对话配置
5
8
 
@@ -232,8 +232,8 @@ async function roomSay(room, contact, msg) {
232
232
  const title = await formatContent(msg.title);
233
233
  let url = new this.UrlLink({
234
234
  description: description,
235
- thumbnailUrl: title,
236
- title: msg.title,
235
+ thumbnailUrl: msg.thumbUrl,
236
+ title: title,
237
237
  url: msg.url,
238
238
  });
239
239
  await room.say(url);
@@ -6,7 +6,7 @@ exports.packageJson = void 0;
6
6
  */
7
7
  exports.packageJson = {
8
8
  "name": "wechaty-web-panel",
9
- "version": "1.6.19",
9
+ "version": "1.6.20",
10
10
  "description": "智能微秘书插件",
11
11
  "exports": {
12
12
  ".": {
@@ -21,7 +21,7 @@ async function getRssContent(info) {
21
21
  if (feed.items && feed.items.length) {
22
22
  // 当存在历史推送记录 需要判读是否推送过
23
23
  const last = feed.items[0];
24
- const lastContent = last.guid || last.link;
24
+ const lastContent = last.link;
25
25
  if (lastItem) {
26
26
  if (lastContent !== lastItem.lastContent) {
27
27
  const content = await setContent(last, info);
@@ -222,8 +222,8 @@ async function roomSay(room, contact, msg) {
222
222
  const title = await formatContent(msg.title);
223
223
  let url = new this.UrlLink({
224
224
  description: description,
225
- thumbnailUrl: title,
226
- title: msg.title,
225
+ thumbnailUrl: msg.thumbUrl,
226
+ title: title,
227
227
  url: msg.url,
228
228
  });
229
229
  await room.say(url);
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const packageJson = {
5
5
  "name": "wechaty-web-panel",
6
- "version": "1.6.19",
6
+ "version": "1.6.20",
7
7
  "description": "智能微秘书插件",
8
8
  "exports": {
9
9
  ".": {
@@ -15,7 +15,7 @@ async function getRssContent(info) {
15
15
  if (feed.items && feed.items.length) {
16
16
  // 当存在历史推送记录 需要判读是否推送过
17
17
  const last = feed.items[0];
18
- const lastContent = last.guid || last.link;
18
+ const lastContent = last.link;
19
19
  if (lastItem) {
20
20
  if (lastContent !== lastItem.lastContent) {
21
21
  const content = await setContent(last, info);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wechaty-web-panel",
3
- "version": "1.6.19",
3
+ "version": "1.6.20",
4
4
  "description": "智能微秘书插件",
5
5
  "exports": {
6
6
  ".": {