stream-chat-js
stream-chat-js copied to clipboard
Hard delete request fails but message is still deleted
Steps to reproduce:
- Send a message in a channel
- 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.