aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-24 21:49:30 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-24 21:49:30 +0200
commit203e0f6d790db5512f32787a7c587c46e21cafb8 (patch)
tree736980434a696afab041022a43aeb7f8c18225c3 /common/src
parent5ee01d06c0b067f2f07d0288c499897cd0df29f7 (diff)
downloadjellything-203e0f6d790db5512f32787a7c587c46e21cafb8.tar
jellything-203e0f6d790db5512f32787a7c587c46e21cafb8.tar.bz2
jellything-203e0f6d790db5512f32787a7c587c46e21cafb8.tar.zst
federated content permitted by default
Diffstat (limited to 'common/src')
-rw-r--r--common/src/user.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/src/user.rs b/common/src/user.rs
index 0d4806e..17700a0 100644
--- a/common/src/user.rs
+++ b/common/src/user.rs
@@ -47,7 +47,9 @@ impl UserPermission {
use UserPermission::*;
matches!(
self,
- Transcode | StreamFormat(Jhls | HlsMaster | HlsVariant | Matroska | Segment)
+ Transcode
+ | FederatedContent
+ | StreamFormat(Jhls | HlsMaster | HlsVariant | Matroska | Segment)
)
}
}