fix: missing actor assertion on 1b12 announced upboat

This commit is contained in:
Julian Lam
2025-09-19 14:43:04 -04:00
parent d1f5060f11
commit f9edb13f62

View File

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