Hubot-slack: removeFormatting does not work for subteams

Created on 23 Mar 2016  路  4Comments  路  Source: slackapi/hubot-slack

When trying to parse an unformatted message, subteams get replaced by undefined

text: 'undefined hello',
rawText: '<!subteam^xxx|@yyy> hello',

https://github.com/slackhq/hubot-slack/blob/master/src/slack.coffee#L174

bug

Most helpful comment

No doubt related to, and will be fixed with #114 This is pretty high-priority stuff, and it's not _strictly speaking_ a duplicate, but I am going to mark it as a duplicate since fixing this and fixing #114 are almost assuredly the same thing.

All 4 comments

No doubt related to, and will be fixed with #114 This is pretty high-priority stuff, and it's not _strictly speaking_ a duplicate, but I am going to mark it as a duplicate since fixing this and fixing #114 are almost assuredly the same thing.

Oops, didn't mean to close the issue!

Closing this as fixed in 4.0. Please reopen if I am mistaken!

@DEGoodmanWilson This still seems broken to me in v4.2.1

https://github.com/slackhq/hubot-slack/pull/366 does seem to resolve the issue though

Was this page helpful?
0 / 5 - 0 ratings

Related issues

genxstylez picture genxstylez  路  6Comments

kallanreed picture kallanreed  路  10Comments

gabriel403 picture gabriel403  路  10Comments

rb1980 picture rb1980  路  6Comments

rajatguptarg picture rajatguptarg  路  5Comments