summaryrefslogtreecommitdiffstats
path: root/app/elasticsearch.go
diff options
context:
space:
mode:
authorVasily Naumkin <bezumkin@yandex.ru>2018-09-21 22:22:23 +0700
committerChristopher Speller <crspeller@gmail.com>2018-09-21 08:22:23 -0700
commit74c92237c04ff290770469be516102c896710e12 (patch)
treee092a3a7eda783420f04a93563b53c7107efca4c /app/elasticsearch.go
parentd764b26b52f8938e50429f03a664a849e23b30bc (diff)
downloadchat-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 'app/elasticsearch.go')
0 files changed, 0 insertions, 0 deletions