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

Pinned messages get duplicated #2013

Open
1 task done
qu0cquyen opened this issue Aug 28, 2024 · 2 comments
Open
1 task done

Pinned messages get duplicated #2013

qu0cquyen opened this issue Aug 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@qu0cquyen
Copy link

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

iOS, Android

What version are you using?

stream_chat: ^8.0.0
stream_chat_flutter_core: ^8.0.0
stream_chat_flutter: ^8.0.0
stream_chat_persistence: ^8.0.0

What happened?

When pin a message, the pinned messages get duplicated in channel.state.pinnedMessages. (Happen in both non-StreamChatPersistenceClient and using StreamChatPersistenceClient

  • Unpin message:
    • No StreamChatPersistenceClient, the pinned message get removed from channel.state.pinnedMessages -> Correct
    • With StreamChatPersistenceClient, the pinned message still inside channel.state.pinnedMessages -> Bug

image

Steps to reproduce

1. Pin a message
2. Access pinned messages from `channel.state.pinnedMessages`
3. Unpin messages with `StreamChatPersistenClient`

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@qu0cquyen qu0cquyen added the bug Something isn't working label Aug 28, 2024
Copy link

This issue is stale because it has been open for 20 days with no activity.

@github-actions github-actions bot added the Stale label Sep 17, 2024
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
@deven98 deven98 reopened this Oct 23, 2024
@github-actions github-actions bot removed the Stale label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants