aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/account')
-rw-r--r--server/models/account/account-blocklist.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/models/account/account-blocklist.ts b/server/models/account/account-blocklist.ts
index 8bcaca828..6ebe32556 100644
--- a/server/models/account/account-blocklist.ts
+++ b/server/models/account/account-blocklist.ts
@@ -75,11 +75,6 @@ export class AccountBlocklistModel extends Model<AccountBlocklistModel> {
75 }) 75 })
76 BlockedAccount: AccountModel 76 BlockedAccount: AccountModel
77 77
78 static isAccountMutedBy (accountId: number, targetAccountId: number) {
79 return AccountBlocklistModel.isAccountMutedByMulti([ accountId ], targetAccountId)
80 .then(result => result[accountId])
81 }
82
83 static isAccountMutedByMulti (accountIds: number[], targetAccountId: number) { 78 static isAccountMutedByMulti (accountIds: number[], targetAccountId: number) {
84 const query = { 79 const query = {
85 attributes: [ 'accountId', 'id' ], 80 attributes: [ 'accountId', 'id' ],