summaryrefslogtreecommitdiff
path: root/packages/backend/src/core
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-11-27 09:57:24 +0000
committerdakkar <dakkar@thenautilus.net>2024-11-27 10:36:19 +0000
commitfc277839b66bd919e2c0ca0c2e2840cd3484afb0 (patch)
tree1f13e017f5c691abc59545b6ebcb4d972a58267d /packages/backend/src/core
parentmerge: Add aliases to webfinger request. (!778) (diff)
downloadsharkey-fc277839b66bd919e2c0ca0c2e2840cd3484afb0.tar.gz
sharkey-fc277839b66bd919e2c0ca0c2e2840cd3484afb0.tar.bz2
sharkey-fc277839b66bd919e2c0ca0c2e2840cd3484afb0.zip
only "publish to followers" when things really change - fixes #733
Diffstat (limited to 'packages/backend/src/core')
-rw-r--r--packages/backend/src/core/activitypub/ApRendererService.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/core/activitypub/ApRendererService.ts b/packages/backend/src/core/activitypub/ApRendererService.ts
index 42ee5bc58a..e34872c714 100644
--- a/packages/backend/src/core/activitypub/ApRendererService.ts
+++ b/packages/backend/src/core/activitypub/ApRendererService.ts
@@ -469,6 +469,7 @@ export class ApRendererService {
};
}
+ // if you change this, also change `server/api/endpoints/i/update.ts`
@bindThis
public async renderPerson(user: MiLocalUser) {
const id = this.userEntityService.genLocalUserUri(user.id);