【发布时间】:2017-06-03 20:41:26
【问题描述】:
我目前正在努力使用 Strophe.js 获取 MUCLight 房间的聊天历史记录。我不想使用直接的 MUC 插件。我使用了以下方法:-
发送下面的IQ,但回调中没有返回:-
<iq type='set' id='mamget1' to='coven@muclight.shakespeare.lit'>
<query xmlns='urn:xmpp:mam:1' queryid='f27' />
</iq>
发送下面的出席信息但处理程序没有收到任何东西:-
<presence from="jid" id="9855" to="roomJID" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc">
<history maxstanzas="20"/>
</x>
</presence>
请告诉正确的做法, 提前致谢
【问题讨论】:
标签: xmpp multiuserchat mongoose-im strophe.js