remove federateBlocks check for unblock activities

This commit is contained in:
Norm 2022-11-14 07:01:02 +00:00
parent 00bc255508
commit 0e9ac8d929

View file

@ -27,7 +27,7 @@ export default async function(blocker: CacheableUser, blockee: CacheableUser) {
Blockings.delete(blocking.id); Blockings.delete(blocking.id);
// deliver if remote bloking // 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)); const content = renderActivity(renderUndo(renderBlock(blocking), blocker));
deliver(blocker, content, blockee.inbox); deliver(blocker, content, blockee.inbox);
} }