我试图找出 XMPP 节的执行顺序,我使用的是 Strophe + Ejabberd,如果我发送这样的请求。
<body rid='someRID' xmlns='http://jabber.org/protocol/httpbind' sid='someSID'>
<message to='someUser@someDomain' type='chat' xmlns='jabber:client'>
<body>123</body>
</message>
<presence type='unavailable' xmlns='jabber:client' />
</body>
Presence 节总是先执行,然后执行 message 节。有没有办法指定顺序或类似的东西,以便首先执行 Message 节,然后再执行 Presence。
谢谢