slack-export-viewer
slack-export-viewer copied to clipboard
support mattermost attachment format
To support the attachments in the mattermost output type, it was necessary to rewrite the image links to reference the corresponding path in the ZIP file:
name=Image.jpg and link=https://files.slack.com/files-pri/T0ABC1DEF-F0123A4B56C/image.jpg
--> __uploads/F0123A4B56C/Image.jpg
TIL Mattermost.
@limwz01 does this PR break existing image links? Just want to make sure everything else that works before still does and that there will be no regression from merging this. Thanks
hmm, I'm really not sure, because I don't have access to get an official slack export and so far I've only been using slackdump.