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
This commit is contained in:
jesopo 2019-09-25 16:11:57 +01:00
parent 13b21b205d
commit 5923602f0a

View file

@ -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