Skip to content

MessageWasSent event not connecting on font-end #276

@SaifulAzam

Description

@SaifulAzam

Hey i don't know if its bug or my end problem.
why the MessageWasSent event not connecting on font-end .
I used laravel-websockets and i see the event fried on websockets log but not fired on font-end .

font-end code.

 enablePusher = async () => {
    //@ts-ignore
    let client = await Pusher();
    client
      .private(
        `mc-chat-conversation.${this.props.route.params.conversation_id}`
      )
      .listen("Musonza\\Chat\\Eventing\\MessageWasSent", (e: any) => {
        console.log(e);
        // this.fetchAPiService();
      });
  };

any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions