Index: src/services/SettingsService.js
===================================================================
--- src/services/SettingsService.js	(revision dd856db9b550c437921c0d7464ad5e7133aea91e)
+++ src/services/SettingsService.js	(revision 283f618f8d224646dfaad3dc3b04b9ac7c092b92)
@@ -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';
+}
