You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In stream_chat-3.5.1/lib/src/core/models/mute.g.dart (this exception cannot be caught outside of the library)
Steps to reproduce
1. Open channel
2. Use `/mute @user` (mute an user)
3. Refresh/restart the app, the channel or any other channel will never load because of the exception when fetching user data probably
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
The text was updated successfully, but these errors were encountered:
I believe it's because the json["me"]["mutes"][0] object on the health.check message doesn't contain a channel property and the parser just casts it to Map<String, dynamic> (so doesn't check its actual type) in lib/src/core/models/mute.g.dart:11, then a forEach is called on it afterwards.
Is there any workaround for this other than unmuting the muted channels? It affects a considerable number of our users, who can't use the chat at all this way.
Which packages are you using?
stream_chat_flutter, stream_chat_persistance
On what platforms did you experience the issue?
iOS, Android, Web
What version are you using?
Latest
What happened?
After muting an user and reloading the app:
In
stream_chat-3.5.1/lib/src/core/models/mute.g.dart
(this exception cannot be caught outside of the library)Steps to reproduce
1. Open channel 2. Use `/mute @user` (mute an user) 3. Refresh/restart the app, the channel or any other channel will never load because of the exception when fetching user data probably
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: