From eae895f1819140a2c80acfdf0641fe4fcb58ff5b Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 24 Feb 2022 15:11:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E4=BD=8E=E4=B8=80=E7=A7=92=E9=92=9F?= =?UTF-8?q?=E7=9A=84=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- utils/im/message.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index d58dbc8..162cdcd 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "ZH-HEALTH", "appid" : "__UNI__C29473D", "description" : "ZH-HEALTH,您手上的健康管理专家", - "versionName" : "1.0.16", + "versionName" : "1.0.17", "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ diff --git a/utils/im/message.js b/utils/im/message.js index bafa3eb..75fff1f 100644 --- a/utils/im/message.js +++ b/utils/im/message.js @@ -17,7 +17,7 @@ const getMessageList = (conversationType, targetId, timeStamp, count, isForward, 'RC:ReferenceMsg', 'RC:CombineMsg', 'RC:GrpNtf', - 'RC:InfoNtf', + 'RC:InfoNtf', 'RC:RcNtf' ] @@ -127,7 +127,7 @@ const sentVoice = (conversationType, targetId, voiceUrl, time, user, callback) = content: { objectName: 'RC:HQVCMsg', local: 'file:///' + plus.io.convertLocalFileSystemURL(voiceUrl), - duration: time, + duration: time == 0 ? 1 : time, userInfo: user } }