【发布时间】:2014-09-06 02:24:58
【问题描述】:
Strophe如何知道聊天消息是否发送成功?
例如
var reply = $msg({
to: id + '@' + chatServerIP,
from: uid + '@' + chatServerIP,
type: 'chat'
}).cnode(Strophe.xmlElement('body', msg));
chatConnection.send(reply.tree());
如何成功发送回复?
【问题讨论】: