From 24bcef6b114521182eb32487813731300e72650c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 2 Nov 2019 14:53:30 +0000 Subject: [PATCH] Full domain for actor --- webinterface.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 0d2588c17..5f3f234ab 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2327,7 +2327,12 @@ def htmlTimeline(translate: {},pageNumber: int, \ sharesButton='buttonselected' if newShare: sharesButton='buttonselectedhighlighted' - actor='/users/'+nickname + + fullDomain=domain + if port!=80 and port!=443: + if ':' not in domain: + fullDomain=domain+':'+str(port) + actor=httpPrefix+'://'+fullDomain+'/users/'+nickname showIndividualPostIcons=True if boxName=='inbox':