Index: src/services/SettingsService.js
===================================================================
--- src/services/SettingsService.js	(revision dd856db9b550c437921c0d7464ad5e7133aea91e)
+++ src/services/SettingsService.js	(revision df0516a49bf6e9b4645509a751546735d0308164)
@@ -49,2 +49,9 @@
   setSetting('tenancy', m);
 }
+
+// ActivityPub / fediverse federation. ON by default. '0' = off: the site does
+// not federate, /ap/* is gone, and the "from the fediverse" reactions disappear
+// — which (since native comments were removed) means no comments at all.
+export function apEnabled() {
+  return getSetting('ap_enabled', '1') !== '0';
+}
