Full domain for actor

main2
Bob Mottram 2019-11-02 14:53:30 +00:00
parent 545dd27974
commit 24bcef6b11
1 changed files with 6 additions and 1 deletions

View File

@ -2327,7 +2327,12 @@ def htmlTimeline(translate: {},pageNumber: int, \
sharesButton='buttonselected' sharesButton='buttonselected'
if newShare: if newShare:
sharesButton='buttonselectedhighlighted' 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 showIndividualPostIcons=True
if boxName=='inbox': if boxName=='inbox':