ios用户与用户单聊的时候,一开始聊天是正常的,当用户发送了两张图片后继续发送文字 就会展示2条一样的数据,实际上只发送了一条数据。退出在进入就只展示一条数据了。有谁知道这是怎么回事?
-
创建时间
18年5月21日
-
最后回复
18年6月1日
-
13
回复
-
3.6K
浏览
-
2
用户
ios用户与用户单聊的时候,一开始聊天是正常的,当用户发送了两张图片后继续发送文字 就会展示2条一样的数据,实际上只发送了一条数据。退出在进入就只展示一条数据了。有谁知道这是怎么回事?
2018-05-22 11:32:00.290227+0800 CangEr[10066:106713] [INFO] -[AVIMWebSocketWrapper _sendCommand:] [Line 654]
------ BEGIN LeanCloud IM Out Command ------
content: : {
cmd: direct
peerId: "6289"
directMessage {
msg: "{"lcattrs":{"username":"味精填海1","conversationType":0},"lctype":-1,"_lctext":"B.B.","sendTimestamp":1526959920255.3169}"
r: true
cid: "5afd2f975b90c830ff7eb50a"
transient: false
}
}
------ END ---------------------------------
2018-05-22 11:32:00.565733+0800 CangEr[10066:107459] [INFO] -[AVIMWebSocketWrapper webSocket:didReceiveMessage:] [Line 906]
------ BEGIN LeanCloud IM In Command ------
content: : {
cmd: ack
peerId: "6289"
i: 12
service: 2
ackMessage {
t: 1526959920302
uid: "hIh2qPqhSee4sszjWobeJA"
}
}
------ END --------------------------------
2018-05-22 11:32:00.565769+0800 CangEr[10066:107322] [INFO] -[AVIMWebSocketWrapper webSocket:didReceiveMessage:] [Line 906]
------ BEGIN LeanCloud IM In Command ------
content: : {
cmd: direct
peerId: "6289"
service: 2
directMessage {
msg: "{"lcattrs":{"username":"味精填海1","conversationType":0},"lctype":-1,"_lctext":"B.B.","sendTimestamp":1526959920255.3169}"
fromPeerId: "6289"
timestamp: 1526959920302
cid: "5afd2f975b90c830ff7eb50a"
id: "hIh2qPqhSee4sszjWobeJA"
convType: 1
}
}
------ END --------------------------------
2018-05-22 11:32:00.706266+0800 CangEr[10066:106713] [INFO] -[AVIMWebSocketWrapper _sendCommand:] [Line 654]
------ BEGIN LeanCloud IM Out Command ------
content: : {
cmd: read
peerId: "6289"
readMessage {
convs {
cid: "5afd2f975b90c830ff7eb50a"
timestamp: 1526959920302
mid: "hIh2qPqhSee4sszjWobeJA"
}
}
}
------ END ---------------------------------
日志打印了两次,是不是因为我测试的时候 没有退出操作。然后直接重新编译。出现重复登录了啊?
主题 | 分类 | 回复 | 浏览 | 活动 |
---|---|---|---|---|
基于uniapp的开发的APP无法使用即时通讯sdk | 实时通信 | 1 | 1.1K | 20-10-19 |
聊天室的tr 字段 和会话的消息 的 transient 需要对应起来么? | 实时通信 | 6 | 1.3K | 16-07-15 |
iOS端 点击语音消息崩溃 | 实时通信 | 5 | 1.3K | 17-12-20 |
ChatKit如何显示该用户之前建立的会话 | 实时通信 | 1 | 984 | 19-03-25 |
【新人】第一次接触 求指点 ,导入realtime.browser.js报错,在线= | 实时通信 | 9 | 3.1K | 17-09-25 |