stream-chat-flutter icon indicating copy to clipboard operation
stream-chat-flutter copied to clipboard

Channel.membership field is not updated

Open VladShturma opened this issue 1 year ago • 11 comments

Which packages are you using?

stream_chat_flutter_core

On what platforms did you experience the issue?

Android

What version are you using?

6.7.0

What happened?

I noticed, that in method Channel().updateChannelState(ChannelState updatedState) the only field, that is not updated, is membership.

In latest version of the library membership is still not updated

I want to ask if it is made intentional of if it is a bug.

Steps to reproduce

1. Listen channel.membershipStream
2. Call channel.addMembers with current user
3. channel.membershipStream is not updated

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

VladShturma avatar Jun 24 '24 18:06 VladShturma

I'm using version 7.2.2 of the sdk

Please fix this ASAP, or is there any workarounds for now? I want to check if the user is invited or has S/he already accepted /rejected the invitation. Screenshot 2024-06-25 at 12 20 06

aadarshadhakalg avatar Jun 25 '24 05:06 aadarshadhakalg

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

github-actions[bot] avatar Jul 15 '24 12:07 github-actions[bot]

Issue need to be open. I created PR to fix this. Please, review

VladShturma avatar Jul 15 '24 13:07 VladShturma

Hey @VladShturma thanks for the issue and PR. I will need some time to get to it, will try to do it in a couple of days.

Thanks!

d3xvn avatar Jul 16 '24 16:07 d3xvn

@deven98 any updates?

VladShturma avatar Aug 02 '24 12:08 VladShturma

Hi

I'm also having the same problem on a project and it's quite disabling because the correct input is not displayed due to membership update issue.

Thanks to @VladShturma for the PR !

ThomasEcalle avatar Aug 08 '24 21:08 ThomasEcalle

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

github-actions[bot] avatar Aug 29 '24 00:08 github-actions[bot]

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

github-actions[bot] avatar Sep 05 '24 06:09 github-actions[bot]

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

github-actions[bot] avatar Sep 25 '24 12:09 github-actions[bot]

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

github-actions[bot] avatar Oct 02 '24 12:10 github-actions[bot]

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

github-actions[bot] avatar Oct 22 '24 18:10 github-actions[bot]

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

github-actions[bot] avatar Oct 29 '24 18:10 github-actions[bot]

@deven98 hello! Any plans on this fix? I have opened pr for it

VladShturma avatar Feb 17 '25 08:02 VladShturma

@VladShturma can you try the PR #2163 and let me know if it fixes your issue? Thanks

xsahil03x avatar Mar 28 '25 22:03 xsahil03x