Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending Messages not Deleting #1168

Open
fbester opened this issue Sep 12, 2023 · 0 comments
Open

Pending Messages not Deleting #1168

fbester opened this issue Sep 12, 2023 · 0 comments

Comments

@fbester
Copy link

fbester commented Sep 12, 2023

Hi there

I'm currently using the stream-chat API on the server side.

When I call streamClient.deleteMessage(message_id, true) (Doing a hard delete here), after that, if I query the same channel the message was on, it's still in the channel state's pending_messages array. It's not even marked as deleted.

Funny enough, the response I get from deleteMessage shows the message as deletes (i.e.: it's type shows as 'deleted' and it even has a deleted_at timestamp).

The only way I can actually get the channel to refresh is to completely disconnect from stream and to reconnect.

Is this a caching issue maybe? I have triple checked that it's not a local state issue.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant