Skip to content
Snippets Groups Projects
Commit 1707002d authored by MeiMei's avatar MeiMei Committed by syuilo
Browse files

Block all activities from suspended users (#5076)

parent 16b03fc1
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment