Skip to content

[bugfix] Fixed Cannot read property _id of undefined#132

Open
bkrith wants to merge 1 commit into
RocketChat:masterfrom
bkrith:fix-_id-undefined-issue
Open

[bugfix] Fixed Cannot read property _id of undefined#132
bkrith wants to merge 1 commit into
RocketChat:masterfrom
bkrith:fix-_id-undefined-issue

Conversation

@bkrith
Copy link
Copy Markdown

@bkrith bkrith commented Apr 10, 2021

Added a check for message object if is an Array and fix some extra compiling issues in Typescript.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 10, 2021

CLA assistant check
All committers have signed the CLA.

@ggazzo
Copy link
Copy Markdown
Member

ggazzo commented Jun 15, 2021

hey @bkrith which version of rocket.chat are you using? I'm afraid we fixed this issue here RocketChat/Rocket.Chat#20930

although your suggestion "fixes" the "expected" behavior/issue, we shouldn't be receiving an array of messages (even more an array containing an single item) no matter what, that's because the error was server-side problem! can you check if my explanation makes sense?

@ggazzo ggazzo added the wontfix This will not be worked on label Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants