forked from FoundKeyGang/FoundKey
remove federateBlocks check for unblock activities
This commit is contained in:
parent
00bc255508
commit
0e9ac8d929
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue