main
Bob Mottram 2019-11-14 22:48:35 +00:00
parent bd06e8925a
commit 9bff2c24df
1 changed files with 2 additions and 2 deletions

View File

@ -1556,7 +1556,7 @@ class PubServer(BaseHTTPRequestHandler):
'actor': likeActor, 'actor': likeActor,
'object': likeUrl 'object': likeUrl
} }
self._postToOutbox(likeJson) self._postToOutboxThread(likeJson)
self.server.GETbusy=False self.server.GETbusy=False
self._redirect_headers(actor+'/'+timelineStr+ \ self._redirect_headers(actor+'/'+timelineStr+ \
'?page='+str(pageNumber),cookie) '?page='+str(pageNumber),cookie)
@ -1606,7 +1606,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.actorLiked=self.path.split('?actor=')[1] self.server.actorLiked=self.path.split('?actor=')[1]
if '?' in self.server.actorLiked: if '?' in self.server.actorLiked:
self.server.actorLiked=self.server.actorLiked.split('?')[0] self.server.actorLiked=self.server.actorLiked.split('?')[0]
self._postToOutbox(undoLikeJson) self._postToOutboxThread(undoLikeJson)
self.server.GETbusy=False self.server.GETbusy=False
self._redirect_headers(actor+'/'+timelineStr+ \ self._redirect_headers(actor+'/'+timelineStr+ \
'?page='+str(pageNumber),cookie) '?page='+str(pageNumber),cookie)