Errors in console when the project component is not installed
In the subscribe-to-rai
file, we try to iterate on the projects of a user.
As the Project component is not mandatory in orbit, the projects
property may not be present for a user
.
In this case, it sends one error every 250ms as this call is in a setInterval
.
We should setup a simple test to prevent this.
Here is the line which causes the issue: https://git.startinblox.com/components/solid-xmpp-chat/-/blob/master/src/plugins/sib-subscribe-to-rai.js#L42