powered by Jive Software

Need help retrieving chat message using mam and rsm

I am doing retrieving all conversions between two jid users. I have enables monitoring services also but i am getting service

Here is query sending

Code:

AxionIM.connection.mam.query("myemailid@gmail.com", {

“with”: "toemailid@gmail.com",

onMessage: function(message) {

console.log(message);

},

onComplete: function(response) {

console.log(“Got all the messages”);

}

});

},

Sending Query

toemailid@gmail.com

Receiving Result:

toemailid@gmail.com