-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
var toJid = to + '@' + xmpp_ServerConnection.domain;
var fromJid = '53e1853e-fd47-429a-9d66-6a4285e8a650' + '@' + xmpp_ServerConnection.domain;
xmpp_ServerConnection.mam.query(fromJid, {
"with": toJid,
onMessage: function (message) {
console.log("Message from ", $(message).find("forwarded message").attr("from"),
": ", $(message).find("forwarded message body").text());
return true;
},
onComplete: function (response) {
console.log("Got all the messages");
}
});
I tried with above code getting error in debug logs, error is given below,
2017-12-20 15:24:55.895 [debug] <0.30102.2>@ejabberd_http_bind:send_outpacket:1043 --- outgoing data ---
<body
xmlns='http://jabber.org/protocol/httpbind'>
<iq
xmlns='jabber:client' from='53e1853e-fd47-429a-9d66-6a4285e8a650@osboxes.prorigo.com' to='53e1853e-fd47-429a-9d66-6a4285e8a650@osboxes.prorigo.com/web_4806_1513591677324' type='error' id='d4a0173f-f3cc-45b7-8915-902a5bce8bd6:sendIQ'>
<query
xmlns='urn:xmpp:mam:2'>
<x
xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:mam:2</value>
</field>
<field var='with'>
<value>d62c9062-077b-4fbf-a9fd-8f953005e6ef@osboxes.prorigo.com</value>
</field>
</x>
<set
xmlns='http://jabber.org/protocol/rsm'/>
</query>
<error code='503' type='cancel'>
<service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>No module is handling this query
</text>
</error>
</iq>
</body>
Can anyone help me in this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels