diff options
author | Vasily Naumkin <bezumkin@yandex.ru> | 2018-09-21 22:22:23 +0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-09-21 08:22:23 -0700 |
commit | 74c92237c04ff290770469be516102c896710e12 (patch) | |
tree | e092a3a7eda783420f04a93563b53c7107efca4c /model/channel.go | |
parent | d764b26b52f8938e50429f03a664a849e23b30bc (diff) | |
download | chat-74c92237c04ff290770469be516102c896710e12.tar.gz chat-74c92237c04ff290770469be516102c896710e12.tar.bz2 chat-74c92237c04ff290770469be516102c896710e12.zip |
Do not force downloading of shared public files (#9412)
I believe we don't need to force downloading of shared public files, because `writeFileResponse` method will compare its MIME type with `MEDIA_CONTENT_TYPES` and output it inline or as attachment automatically.
Usually we are share images and it is much more convenient to see them without downloading.
Diffstat (limited to 'model/channel.go')
0 files changed, 0 insertions, 0 deletions