Block all activities from suspended users (#5076)

This commit is contained in:
MeiMei 2019-06-21 15:42:07 +09:00 committed by mei23
parent 41430288d3
commit f9f1a654c3
No known key found for this signature in database
GPG key ID: DD8628500D3E4B23

View file

@ -15,6 +15,8 @@ import block from './block';
import { apLogger } from '../logger';
const self = async (actor: IRemoteUser, activity: Object): Promise<void> => {
if (actor.isSuspended) return;
switch (activity.type) {
case 'Create':
await create(actor, activity);