From eacb25c4366bcc8fba20f98f93f004fabc6d5578 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Wed, 8 Aug 2018 17:36:10 +0200
Subject: Add reason when banning a user

---
 shared/models/users/user.model.ts | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'shared')

diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index 188e29ede..d3085267f 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -14,4 +14,7 @@ export interface User {
   createdAt: Date
   account: Account
   videoChannels?: VideoChannel[]
+
+  blocked: boolean
+  blockedReason?: string
 }
-- 
cgit v1.2.3