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

Status change doesn't update properly and sets user offline.

Open talksik opened this issue 2 years ago • 2 comments

Which packages are you using?

stream_chat

On what platforms did you experience the issue?

Linux

What version are you using?

6.9

What happened?

An action button in the appbar tries to change a parameter of the local user within extraData and it does that successfully. However, for some reason, the updated user received on the stream listener has the updated property online set to false.

Sorry for the noise, I had to add Linux as a platform because that's my development machine. It should be enough to only focus on example/lib/main.dart as that's the only place I had changes.

Associated PR

Steps to reproduce

1. Go to associated PR linked above.
2. Run the app
3. Click the test button in the navbar.
4. _You will see the status of the user change to offline._

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

talksik avatar Dec 06 '23 21:12 talksik

Any update on this? Surprised that basic presence working is not a priority for the team.

talksik avatar Jan 08 '24 19:01 talksik

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

github-actions[bot] avatar Feb 17 '24 01:02 github-actions[bot]

Apologies for the delay, the fix was ridiculously difficult to spot.

This should be rolled out in the upcoming release.

d3xvn avatar Jul 08 '24 12:07 d3xvn

Hey @deven98 thanks for fixing, I have since stopped using stream but I will revisit this!

talksik avatar Jul 08 '24 18:07 talksik