最低一秒钟的消息

This commit is contained in:
2022-02-24 15:11:10 +08:00
parent 3cd11c5863
commit eae895f181
2 changed files with 3 additions and 3 deletions

View File

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