aboutsummaryrefslogtreecommitdiff
path: root/modules/fediverse/__init__.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-25 16:11:57 +0100
committerGravatar jesopo2019-09-25 16:11:57 +0100
commit5923602f0a28cde6f49c00783b9ba06f7bade8c8 (patch)
treeb82d4e0253a1624d131e789fd30385b1a72f8cff /modules/fediverse/__init__.py
parentonly show non-replies with ,fedi (diff)
signature
make fediverse module rely on REST API
I didn't want to do this unless we had to but Mastodon is introducing requirming signed requests soon, so even if a user doesn't use bitbot as an instance, we'll still need to be able to serve Actor (and key) over the REST API
Diffstat (limited to 'modules/fediverse/__init__.py')
-rw-r--r--modules/fediverse/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/fediverse/__init__.py b/modules/fediverse/__init__.py
index a4c47d1d..241d5ff9 100644
--- a/modules/fediverse/__init__.py
+++ b/modules/fediverse/__init__.py
@@ -1,3 +1,5 @@
+#--depends-on rest_api
+
import urllib.parse
from src import IRCBot, ModuleManager, utils
from . import ap_actor, ap_security, ap_server, ap_utils