Re-add support for "extra inboxes"
This allow to start posting public activities to other instances without follower.
This commit is contained in:
parent
354a9ad13f
commit
f7e6d37dce
2 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,7 @@ from config import ME
|
|||
from config import USER_AGENT
|
||||
from config import USERNAME
|
||||
from config import MEDIA_CACHE
|
||||
from config import EXTRA_INBOXES
|
||||
from utils.media import Kind
|
||||
from little_boxes import activitypub as ap
|
||||
from little_boxes import strtobool
|
||||
|
@ -65,6 +66,9 @@ class MicroblogPubBackend(Backend):
|
|||
"""Setup a custom user agent."""
|
||||
return USER_AGENT
|
||||
|
||||
def extra_inboxes(self) -> List[str]:
|
||||
return EXTRA_INBOXES
|
||||
|
||||
def base_url(self) -> str:
|
||||
"""Base URL config."""
|
||||
return BASE_URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue