mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: missing actor assertion on 1b12 announced upboat
This commit is contained in:
@@ -298,6 +298,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');
|
||||
|
||||
Reference in New Issue
Block a user