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
Describe the Bug
When getting the chat info of a chat that has no members an error is thrown:
TypeError: Cannot read property 'map' of undefined
at createChatInfo (convergence.esm.js:16379)
at convergence.esm.js:16916
at async onDomainConnect (user-utils.ts:37)
This occurs in the createChatInfo method because we are not checking for the protobuf default array value.
Step To Reproduce A code snippet or gist to reproduce the issue will greatly improve our response time
Create a chat channel called "general" with no members.
From the client domain.chat().get("general");
Expected Behavior
This should return a chat object with no members.
The text was updated successfully, but these errors were encountered:
Versions
Please fill in all that apply:
Describe the Bug
When getting the chat info of a chat that has no members an error is thrown:
This occurs in the
createChatInfo
method because we are not checking for the protobuf default array value.Step To Reproduce
A code snippet or gist to reproduce the issue will greatly improve our response time
domain.chat().get("general");
Expected Behavior
This should return a chat object with no members.
The text was updated successfully, but these errors were encountered: