Closed SURAJTHEGREAT closed 6 years ago
Without digging into the code, logically your code suggestion looks safe.
Can you open a PR with mentioned changes in post_data.js
? Someone will review it and hopefully that would be included in hubot-stackstorm.
@armab : We are facing error remote: Permission to StackStorm/hubot-stackstorm.git denied to SURAJTHEGREAT. when trying to git pull the repository. Could you please provide access for the same.
@armab : We have created fork method as well to create a pull request. Currently it is showing in pull request under the heading "Button attachement fix for mattermostuser" . But the build Travis CI is getting failed.Please assist.
Implemented in https://github.com/StackStorm/hubot-stackstorm/pull/152
I am not able to send the message with button attachments. If I send simple message{non-attachment message} its working fine. If i send message with extra param from the stackstorm the message is not getting displayed in the channel.
If I have changed the line 137 in post_data.js under lib folder from attachments: content to attachments: content.attachments ? content.attachments : content then the button gets displayed.
Please help on this issue. Is this a right fix
message from stackstorm