GetStream/stream-chat-angular

Cannot assign to read only property 'length' of object '[object Array]' when sending message

Opened this issue · 1 comments

Whenever I send a message in a channel I get the following error.

It could be due to "user error" on my behalf, but it does look like it's coming from the stream-chat library so thought I would post it here.

stream-chat-error

Sorry for the late response; I was out of the office. The error comes from this line of code: https://github.com/GetStream/stream-chat-angular/blob/master/projects/stream-chat-angular/src/lib/channel.service.ts#L1453 - the splice method fails on the array. However I can't reproduce this error with our sample app, nor do I know what could cause such error. Can you please try and reproduce with the sample app? Did this error started after a stream-chat-angular update? What version are you using currently?