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

Closed
fbester opened this issue Sep 12, 2023 · 1 comment
Closed

Pending Messages not Deleting #1168

fbester opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels
pending-reply question Further information is requested

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.

@MartinCupela
Copy link
Contributor

Hello @fbester , does the issue still persist? I could not replicate it. Seems similar to this one: #1303

@MartinCupela MartinCupela self-assigned this Aug 26, 2024
@MartinCupela MartinCupela added pending-reply question Further information is requested labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-reply question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants