我切换用户后发了一条消息后的情况如下:
------ BEGIN LeanCloud IM Out Command ------
cmd: Direc
type: AVIMDirectCommand
content: : {
cmd: direct
peerId: "5c962c7312215f007259c8da"
i: 15
directMessage {
msg: "{"
lctype":-1,"lctext":"2","_lcattrs":{"username":"憨憨","conversationType":1}}"
cid: "5c98714224389200691e04f6"
transient: false
}
}
------ END ---------------------------------
2019-03-25 15:07:38.101126+0800 Cobweb[3292:212908] [INFO] -[AVIMWebSocketWrapper webSocket:didReceiveMessage:] [Line 764]
------ BEGIN LeanCloud IM In Command ------
content: : {
cmd: ack
peerId: "5c962c7312215f007259c8da"
i: 15
ackMessage {
t: 1553497658074
uid: "bPxF0m20Q1GyFZV7sCAvWw"
}
# --- Unknown fields ---
8: 2
}
------ END --------------------------------
2019-03-25 15:07:38.105085+0800 Cobweb[3292:212908] [INFO] -[AVIMWebSocketWrapper webSocket:didReceiveMessage:] [Line 764]
------ BEGIN LeanCloud IM In Command ------
content: : {
cmd: direct
peerId: "5c962df5fe88c2006f3735da"
directMessage {
msg: "{"lctype":-1,"lctext":"2","_lcattrs":{"username":"憨憨","conversationType":1}}"
fromPeerId: "5c962c7312215f007259c8da"
timestamp: 1553497658074
cid: "5c98714224389200691e04f6"
id: "bPxF0m20Q1GyFZV7sCAvWw"
# --- Unknown fields ---
22: 1
}
# --- Unknown fields ---
8: 2
}
------ END --------------------------------
2019-03-25 15:07:38.108067+0800 Cobweb[3292:212908] [INFO] -[AVIMWebSocketWrapper sendCommand:] [Line 727]
------ BEGIN LeanCloud IM Out Command ------
cmd: Ack
type: AVIMAckCommand
content: : {
cmd: ack
peerId: "5c962df5fe88c2006f3735da"
ackMessage {
mid: "bPxF0m20Q1GyFZV7sCAvWw"
cid: "5c98714224389200691e04f6"
}
}
------ END ---------------------------------