The messages are duplicated in the client. #3381
xuwei123456789
started this conversation in
General
Replies: 2 comments
-
Which tag are you using now? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please update the versions, including both the SDK and the server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
前端版本为

openim server 版本为3.8.3

具体操作流程:
发消息的流程是
createTextMessage 创建文本 在调用sendMessage发送成功之后 重新调用getAllConversationList 和getAdvancedHistoryMessageList
第一次发消息正常 第二次消息 出现多个重复消息且唯一标识clientMsgID也重复
前端发消息代码
sendMsg() {
console.log(this.message, '9999999999');
console.log(this.detail, '66666666666666666');
if (this.message.trim() === '') {
this.$message({
showClose: true,
message: '输入内容不能仅为空格,请输入有效信息!',
type: 'error',
duration: 5000
});
return;
}
if (this.message) {
IMSDK.createTextMessage(this.message)
.then(res => {
console.log(this.detail, '00000000');
Beta Was this translation helpful? Give feedback.
All reactions