From a60683afffc346ebffb37ee844e7fec03a1d61b9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 Jul 2019 16:56:11 +0100 Subject: [PATCH] New post on both timelines --- webinterface.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index 1e6fb0eb..cd59994b 100644 --- a/webinterface.py +++ b/webinterface.py @@ -430,7 +430,8 @@ def individualPostAsHtml(session,wfRequest: {},personCache: {}, \ '\n' def htmlTimeline(session,baseDir: str,wfRequest: {},personCache: {}, \ - nickname: str,domain: str,timelineJson: {},boxName: str) -> str: + nickname: str,domain: str,timelineJson: {}, \ + boxName: str) -> str: """Show the timeline as html """ with open(baseDir+'/epicyon-profile.css', 'r') as cssFile: @@ -451,9 +452,7 @@ def htmlTimeline(session,baseDir: str,wfRequest: {},personCache: {}, \ actor='/users/'+nickname tlStr=htmlHeader(profileStyle) - newPostStr='' - if boxName=='inbox': - newPostStr=' ' + newPostStr=' ' tlStr+= \ '
' \ '
' \