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
When I try to delete a channel, the user that belongs to that channel is also deleted. Then when I watch (or create) a new channel with the same user, I get the following error:
Error: StreamChat error code 4: GetOrCreateChannel failed with error: "The following users are involved in channel create operation, but don't exist : [...user_id]. Please create the user objects before setting up channel."
Here is what I want to do:
I want the app to behave just like in Facebook (messenger) where deleting a channel will also delete all the messages that is included in that specific channel.
Then creating a brandly new channel with the same user should work correctly without the above error.
(I used the same code as describe in the official docs for deleting a channel)here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I try to delete a channel, the user that belongs to that channel is also deleted. Then when I watch (or create) a new channel with the same user, I get the following error:
Error: StreamChat error code 4: GetOrCreateChannel failed with error: "The following users are involved in channel create operation, but don't exist : [...user_id]. Please create the user objects before setting up channel."
Here is what I want to do:
(I used the same code as describe in the official docs for deleting a channel)here.
Does anybody know how to fix that issue ?
Beta Was this translation helpful? Give feedback.
All reactions