From 30752b0ffff3b61e697e915a51f9cf5db77194c6 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sun, 15 Apr 2018 06:37:55 +0900
Subject: [PATCH] :v:

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

diff --git a/src/models/user.ts b/src/models/user.ts
index 56ca0c625f..f18206120f 100644
--- a/src/models/user.ts
+++ b/src/models/user.ts
@@ -258,6 +258,9 @@ export async function deleteUser(user: string | mongo.ObjectID | IUser) {
 	).map(x => deleteNotification(x)));
 
 	// このユーザーを削除
+	await User.remove({
+		_id: u._id
+	});
 }
 
 /**