We recommend you to not use the root user to publish your videos, since it's the super-admin account of your instance.
diff --git a/client/src/app/core/users/user.model.ts b/client/src/app/core/users/user.model.ts
index 5a6cdd62101..332227cb05f 100644
--- a/client/src/app/core/users/user.model.ts
+++ b/client/src/app/core/users/user.model.ts
@@ -150,14 +150,12 @@ export class User implements UserServerModel {
this.account.updateAvatar(newAccountAvatar)
}
- canUpload (): boolean {
- if (this.videoQuota === 0 || this.videoQuotaDaily === 0) return false
-
- return true
+ isUploadDisabled (): boolean {
+ return (this.videoQuota === 0 || this.videoQuotaDaily === 0)
}
canSeeVideosLink (): boolean {
- if (this.canUpload()) {
+ if (!this.isUploadDisabled()) {
return true
}