From 4b46b1f7f5bd41e25cc483cce6bf95261a46bdb9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Mar 2020 12:44:41 +0000 Subject: [PATCH] Pass onion domain to inbox queue --- daemon.py | 3 ++- inbox.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 6c890099..6a732a36 100644 --- a/daemon.py +++ b/daemon.py @@ -6149,7 +6149,8 @@ def runDaemon(blogsInstance: bool,mediaInstance: bool, \ baseDir,httpPrefix,httpd.sendThreads, \ httpd.postLog,httpd.cachedWebfingers, \ httpd.personCache,httpd.inboxQueue, \ - domain,port,useTor,httpd.federationList, \ + domain,onionDomain,port,useTor, \ + httpd.federationList, \ httpd.ocapAlways,maxReplies, \ domainMaxPostsPerDay,accountMaxPostsPerDay, \ allowDeletion,debug,maxMentions,maxEmoji, \ diff --git a/inbox.py b/inbox.py index 1b6d11fe..34e1a8e3 100644 --- a/inbox.py +++ b/inbox.py @@ -2001,7 +2001,8 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \ projectVersion: str, \ baseDir: str,httpPrefix: str,sendThreads: [],postLog: [], \ cachedWebfingers: {},personCache: {},queue: [], \ - domain: str,port: int,useTor: bool,federationList: [], \ + domain: str,onionDomain: str,port: int,useTor: bool, \ + federationList: [], \ ocapAlways: bool,maxReplies: int, \ domainMaxPostsPerDay: int,accountMaxPostsPerDay: int, \ allowDeletion: bool,debug: bool,maxMentions: int, \