From 4216b0b85739f7489525e2701e95bc032e6bfaed Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 25 Aug 2019 10:54:17 +0200 Subject: [PATCH] No more extra inboxes --- config.py | 1 - core/activitypub.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/config.py b/config.py index 3f8e0f7..7a44fac 100644 --- a/config.py +++ b/config.py @@ -67,7 +67,6 @@ with open(os.path.join(KEY_DIR, "me.yml")) as f: SUMMARY = conf["summary"] ICON_URL = conf["icon_url"] PASS = conf["pass"] - EXTRA_INBOXES = conf.get("extra_inboxes", []) HIDE_FOLLOWING = conf.get("hide_following", True) diff --git a/core/activitypub.py b/core/activitypub.py index 27af107..beeeffe 100644 --- a/core/activitypub.py +++ b/core/activitypub.py @@ -25,7 +25,6 @@ from little_boxes.httpsig import HTTPSigAuth from config import BASE_URL from config import DB from config import DEFAULT_CTX -from config import EXTRA_INBOXES from config import ID from config import KEY from config import ME @@ -276,9 +275,6 @@ class MicroblogPubBackend(Backend): """Setup a custom user agent.""" return USER_AGENT - def extra_inboxes(self) -> List[str]: - return EXTRA_INBOXES - def followers(self) -> List[str]: q = { "box": Box.INBOX.value,