|
|
@ -821,6 +821,7 @@ class UserService extends SiteService { |
|
|
|
|
|
|
|
async ban (user) { |
|
|
|
const { |
|
|
|
attachment: attachmentService, |
|
|
|
chat: chatService, |
|
|
|
comment: commentService, |
|
|
|
contentReport: contentReportService, |
|
|
@ -855,6 +856,7 @@ class UserService extends SiteService { |
|
|
|
await otpAuthService.removeForUser(user); |
|
|
|
await stickerService.removeForUser(user); |
|
|
|
await userNotificationService.removeForUser(user); |
|
|
|
await attachmentService.removeForOwner(user); |
|
|
|
} |
|
|
|
|
|
|
|
checkRestrictedKeys (method, definition) { |
|
|
|