Skip to content

Node.js based forum software built for the modern web

feat(activitypub): announce bumped topics to followers

Julian Lam16d3f6d6be44
diff --git a/public/language/en-GB/topic.json b/public/language/en-GB/topic.json
index 3cea321fa3..5aab1077e2 100644
--- a/public/language/en-GB/topic.json
+++ b/public/language/en-GB/topic.json
@@ -115,7 +115,7 @@
"ignoring.description": "Do not notify me of new replies.<br/>Do not show topic in unread.",
"thread-tools.title": "Topic Tools",
- "thread-tools.markAsUnreadForAll": "Mark Unread For All",
+ "thread-tools.markAsUnreadForAll": "Bump (Mark Unread For All)",
"thread-tools.pin": "Pin Topic",
"thread-tools.unpin": "Unpin Topic",
"thread-tools.lock": "Lock Topic",
diff --git a/src/api/topics.js b/src/api/topics.js
index 4ced489da8..9f0b646ea6 100644
--- a/src/api/topics.js
+++ b/src/api/topics.js
@@ -289,6 +289,8 @@ topicsAPI.bump = async (caller, { tid }) => {
await topics.markAsUnreadForAll(tid);
topics.pushUnreadCount(caller.uid);
+
+ activitypub.out.announce.topic(tid, caller.uid);
};
topicsAPI.move = async (caller, { tid, cid }) => {