This handles file_share message subtype which is sent when e.g. screenshot is pasted to Slack channel. It shows both Slack-internal link and public link. For the public link to work Slack config "Enable public file URL creation" must be enabled and file uploader must also click "Create external link" on the file.
Coverage decreased (-1.6%) to 97.861% when pulling 2d8ee521795147887ca83f09ad44d91b90c2a79d on Aketzu:master into 28dd48be331445c2b13ebd4345e7335cfc045496 on ekmartin:master.
Coverage increased (+0.009%) to 99.465% when pulling 7440faf81df6ad161be24a42fc02d653f5d9f1e0 on Aketzu:master into 28dd48be331445c2b13ebd4345e7335cfc045496 on ekmartin:master.
This handles file_share message subtype which is sent when e.g. screenshot is pasted to Slack channel. It shows both Slack-internal link and public link. For the public link to work Slack config "Enable public file URL creation" must be enabled and file uploader must also click "Create external link" on the file.
Looks like this in IRC channel
Fixes #22