diff --git a/daemon.py b/daemon.py
index 8e9d76d94..d6a9ed426 100644
--- a/daemon.py
+++ b/daemon.py
@@ -2397,7 +2397,8 @@ class PubServer(BaseHTTPRequestHandler):
self.path.replace('/roles',''), \
self.server.baseDir)
if getPerson:
- msg=htmlProfile(self.server.recentPostsCache, \
+ msg=htmlProfile(self.server.defaultTimeline, \
+ self.server.recentPostsCache, \
self.server.maxRecentPosts, \
self.server.translate, \
self.server.projectVersion, \
@@ -2442,7 +2443,8 @@ class PubServer(BaseHTTPRequestHandler):
self.path.replace('/skills',''), \
self.server.baseDir)
if getPerson:
- msg=htmlProfile(self.server.recentPostsCache, \
+ msg=htmlProfile(self.server.defaultTimeline, \
+ self.server.recentPostsCache, \
self.server.maxRecentPosts, \
self.server.translate, \
self.server.projectVersion, \
@@ -3149,7 +3151,8 @@ class PubServer(BaseHTTPRequestHandler):
print('DEBUG: creating new session')
self.server.session= \
createSession(self.server.useTor)
- msg=htmlProfile(self.server.recentPostsCache, \
+ msg=htmlProfile(self.server.defaultTimeline, \
+ self.server.recentPostsCache, \
self.server.maxRecentPosts, \
self.server.translate, \
self.server.projectVersion, \
@@ -3208,7 +3211,8 @@ class PubServer(BaseHTTPRequestHandler):
self.server.session= \
createSession(self.server.useTor)
- msg=htmlProfile(self.server.recentPostsCache, \
+ msg=htmlProfile(self.server.defaultTimeline, \
+ self.server.recentPostsCache, \
self.server.maxRecentPosts, \
self.server.translate, \
self.server.projectVersion, \
@@ -3268,7 +3272,8 @@ class PubServer(BaseHTTPRequestHandler):
print('DEBUG: creating new session')
self.server.session= \
createSession(self.server.useTor)
- msg=htmlProfile(self.server.recentPostsCache, \
+ msg=htmlProfile(self.server.defaultTimeline, \
+ self.server.recentPostsCache, \
self.server.maxRecentPosts, \
self.server.translate, \
self.server.projectVersion, \
@@ -3308,7 +3313,8 @@ class PubServer(BaseHTTPRequestHandler):
print('DEBUG: creating new session')
self.server.session= \
createSession(self.server.useTor)
- msg=htmlProfile(self.server.recentPostsCache, \
+ msg=htmlProfile(self.server.defaultTimeline, \
+ self.server.recentPostsCache, \
self.server.maxRecentPosts, \
self.server.translate, \
self.server.projectVersion, \
diff --git a/webinterface.py b/webinterface.py
index 290d38d8f..1b7fa3b81 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -1377,7 +1377,8 @@ def htmlSharesTimeline(translate: {},pageNumber: int,itemsPerPage: int, \
return timelineStr
-def htmlProfile(recentPostsCache: {},maxRecentPosts: int, \
+def htmlProfile(defaultTimeline: str, \
+ recentPostsCache: {},maxRecentPosts: int, \
translate: {},projectVersion: str, \
baseDir: str,httpPrefix: str,authorized: bool, \
ocapAlways: bool,profileJson: {},selected: str, \
@@ -1445,8 +1446,8 @@ def htmlProfile(recentPostsCache: {},maxRecentPosts: int, \
else:
editProfileStr=''
logoutStr=''
- linkToTimelineStart=''
- linkToTimelineStart+=''
+ linkToTimelineStart=''
+ linkToTimelineStart+=''
linkToTimelineEnd=''
# are there any follow requests?
followRequestsFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/followrequests.txt'