0
如何知道是否聊天消息已經在成功的strophe發送?的strophe聊天發送狀態
例如
var reply = $msg({
to: id + '@' + chatServerIP,
from: uid + '@' + chatServerIP,
type: 'chat'
}).cnode(Strophe.xmlElement('body', msg));
chatConnection.send(reply.tree());
怎麼樣怎麼樣的答覆已經發送成功?