Node.js based forum software built for the modern web
fix: handle Undo(Dislike), cc @panosda
Julian Lam479bb753ce2a
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.jsindex d827140e1a..cc42b7f3a1 100644--- a/src/activitypub/inbox.js+++ b/src/activitypub/inbox.js@@ -715,6 +715,7 @@ inbox.undo = async (req) => {break;}+ case 'Dislike': // falls throughcase 'Like': {const exists = await posts.exists(id);if (localType !== 'post' || !exists) {