From 0e9ac8d92902936e346f1da22d04fd03cb6d2448 Mon Sep 17 00:00:00 2001 From: Norm Date: Mon, 14 Nov 2022 07:01:02 +0000 Subject: [PATCH] remove federateBlocks check for unblock activities --- packages/backend/src/services/blocking/delete.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/services/blocking/delete.ts b/packages/backend/src/services/blocking/delete.ts index 92540576a..82f92f05a 100644 --- a/packages/backend/src/services/blocking/delete.ts +++ b/packages/backend/src/services/blocking/delete.ts @@ -27,7 +27,7 @@ export default async function(blocker: CacheableUser, blockee: CacheableUser) { Blockings.delete(blocking.id); // deliver if remote bloking - if (Users.isLocalUser(blocker) && Users.isRemoteUser(blockee) && blocker.federateBlocks) { + if (Users.isLocalUser(blocker) && Users.isRemoteUser(blockee)) { const content = renderActivity(renderUndo(renderBlock(blocking), blocker)); deliver(blocker, content, blockee.inbox); }