Implement suspend account
This commit is contained in:
parent
38b9ed3f27
commit
bd207b5012
8 changed files with 54 additions and 4 deletions
|
|
@ -11,6 +11,11 @@ const log = debug('misskey:activitypub');
|
|||
* Imageを作成します。
|
||||
*/
|
||||
export async function createImage(actor: IRemoteUser, value): Promise<IDriveFile> {
|
||||
// 投稿者が凍結されていたらスキップ
|
||||
if (actor.isSuspended) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const image = await new Resolver().resolve(value);
|
||||
|
||||
if (image.url == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue