You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I'm getting the error. I have used this function on Strophe connection object.
here it's connection object this.connection = new Strophe.Connection(this.BOSH_SERVICE, { keepalive: true, });
here is the example - this.connection.mam.query("[email protected]", { "with": "[email protected]", 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"); } });
getting below error.
The text was updated successfully, but these errors were encountered:
Hello I'm getting the error. I have used this function on Strophe connection object.

here it's connection object
this.connection = new Strophe.Connection(this.BOSH_SERVICE, { keepalive: true, });
here is the example -
this.connection.mam.query("[email protected]", { "with": "[email protected]", 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"); } });
getting below error.
The text was updated successfully, but these errors were encountered: