We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hubot of us crashes when receiving message, worked from 2.x up until 3.8.0
Subscribe to channel receive message
no crash
Crashes
the issue is, that the SDK Driver receives an array of messages instead an object.
offending line: https://github.com/RocketChat/Rocket.Chat.js.SDK/blob/e507e86faf049751218a08f6488545ec77d33309/src/lib/driver.ts#L397
quick fix, add line 352: message=message[0];
The text was updated successfully, but these errors were encountered:
__my_messages__
Successfully merging a pull request may close this issue.
Description:
Hubot of us crashes when receiving message, worked from 2.x up until 3.8.0
Steps to reproduce:
Subscribe to channel
receive message
Expected behavior:
no crash
Actual behavior:
Crashes
Server Setup Information:
Client Setup Information
Additional context
the issue is, that the SDK Driver receives an array of messages instead an object.
offending line:
https://github.com/RocketChat/Rocket.Chat.js.SDK/blob/e507e86faf049751218a08f6488545ec77d33309/src/lib/driver.ts#L397
quick fix, add line 352:
message=message[0];
The text was updated successfully, but these errors were encountered: