Skip to content

How to import this plugin and use in Angular.  #11

@Vida-Subhash

Description

@Vida-Subhash

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("you@example.com", { "with": "juliet@capulet.com", 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.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions