aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/data
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-29 18:08:53 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2022-10-30 12:21:30 +0100
commit51f124228b0d308719dd0d9b111b53235748bc67 (patch)
tree685e86f07ed994e4173062a5796fec2202247075 /_pytest/data
parent8a89b8038cc0d0e2c88d4ac77aafdd14470dca4a (diff)
downloadwee-slack-51f124228b0d308719dd0d9b111b53235748bc67.tar.gz
Show useful link for Slack posts
The url_private link for Slack posts just downloads a json of the post, which isn't very useful to click on. The permalink goes to the web view for a post, which is what we want. The web client adds origin_team and origin_channel, which makes the post page show info about where the post is shared, so add that here as well. We still want to use url_private for images etc., not permalink there as well, because that links to the Slack client with the image shown in the sidebar, which is much more inconvenient than just getting the image directly.
Diffstat (limited to '_pytest/data')
0 files changed, 0 insertions, 0 deletions