Merge branch 'master' into develop

This commit is contained in:
Julian Lam
2025-09-19 14:43:13 -04:00
3 changed files with 5 additions and 3 deletions

View File

@@ -302,6 +302,7 @@ inbox.announce = async (req) => {
const exists = await posts.exists(localId || id);
if (exists) {
try {
await activitypub.actors.assert(object.actor);
const result = await posts.upvote(localId || id, object.actor);
if (localId) {
socketHelpers.upvote(result, 'notifications:upvoted-your-post-in');