GetStream / stream-chat-js

JS / Browser Client - Build Chat with GetStream.io
https://getstream.io/chat/
Other
177 stars 75 forks source link

Hard delete request fails but message is still deleted #1303

Open joeporpeglia opened 3 months ago

joeporpeglia commented 3 months ago

Steps to reproduce:

  1. Send a message in a channel
  2. After the new message comes back over the websocket, delete it via client.deleteMessage(..., true)

The DELETE request takes a while (~8-10 seconds) and then fails with a 400 response including the error message DeleteMessage failed with error: "Message with id ... doesn't exist"". If I refetch the messages from the channel I see that the message was actually deleted, but no message.deleted event is sent to clients watching the channel.