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 } }