mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add ability to report account
This commit is contained in:
parent
8ca56654a1
commit
cfde28bac3
33 changed files with 514 additions and 214 deletions
|
@ -311,7 +311,8 @@ class Emailer {
|
|||
videoPublishedAt: new Date(video.publishedAt).toLocaleString(),
|
||||
videoName: video.name,
|
||||
reason: abuse.reason,
|
||||
videoChannel: video.VideoChannel,
|
||||
videoChannel: abuse.video.channel,
|
||||
reporter,
|
||||
action
|
||||
}
|
||||
}
|
||||
|
@ -330,6 +331,7 @@ class Emailer {
|
|||
commentCreatedAt: new Date(comment.createdAt).toLocaleString(),
|
||||
reason: abuse.reason,
|
||||
flaggedAccount: abuseInstance.FlaggedAccount.getDisplayName(),
|
||||
reporter,
|
||||
action
|
||||
}
|
||||
}
|
||||
|
@ -346,6 +348,7 @@ class Emailer {
|
|||
accountDisplayName: account.getDisplayName(),
|
||||
isLocal: account.isOwned(),
|
||||
reason: abuse.reason,
|
||||
reporter,
|
||||
action
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue