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?