diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index 97c4f283..18a03770 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -24,6 +24,9 @@ const Attachment = {
StillImage
},
computed: {
+ referrerpolicy () {
+ return this.$store.state.instance.mediaProxyAvailable ? '' : 'no-referrer'
+ },
type () {
return fileTypeService.fileType(this.attachment.mimetype)
},
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 5eaa0d1d..b80300b4 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -10,7 +10,7 @@
Hide
-
+