Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #50 from alleyinteractive/link-team-id
Browse files Browse the repository at this point in the history
Use the Slack Team ID when linking to a channel
  • Loading branch information
srtfisher authored Sep 27, 2022
2 parents 6b3cbc8 + 01b9fce commit 8bc357f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CodeReviews.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ msgRoomName = require './lib/msgRoomName'
roomList = require './lib/roomList'
EmojiDataParser = require './lib/EmojiDataParser'


class CodeReviews
constructor: (@robot) ->
# coffeelint: disable=max_line_length
Expand Down Expand Up @@ -141,7 +140,7 @@ class CodeReviews
attachments.push
fallback: "#{cr.url} could use your :eyes: Remember to claim it in ##{origin_room}"
text: "*<#{cr.url}|#{cr.slug}>* could use your :eyes: Remember to claim it" +
" in <https://slack.com/app_redirect?channel=#{origin_room}|##{origin_room}>"
" in ##{origin_room}"
mrkdwn_in: ["text"]
color: "#575757"
sendFancyMessage @robot, channel_to_notify, attachments
Expand Down

0 comments on commit 8bc357f

Please sign in to comment.