pusher / chatkit-client-js

JavaScript client SDK for Pusher Chatkit
https://pusher.com/chatkit
MIT License
90 stars 15 forks source link

onMessage is executed if a message is deleted instead of onMessageDeleted #195

Closed anchetaWern closed 5 years ago

anchetaWern commented 5 years ago

I was expecting onMessageDeleted to be triggered when I delete a message from the server (node.js) but onMessage is executed instead.

vivangkumar commented 5 years ago

Hi @anchetaWern!

What versions of the following are you using?

  1. chatkit-client-js
  2. chatkit-server-node

Is there an example you have that I can use to reproduce this? I tried to reproduce this, but had no luck. The message_deleted event does get called.

anchetaWern commented 5 years ago

@vivangkumar thanks. Looks like I'm using an old version:

I'll try to update and see if the problem still persist. But is there a documentation for this? Like a changelog for API changes and fixes.