Announce button makes unthreaded post

merge-requests/30/head
Bob Mottram 2021-10-23 14:13:12 +01:00
parent 2f0f48c346
commit cd1431b7e0
1 changed files with 5 additions and 2 deletions

View File

@ -6955,7 +6955,8 @@ class PubServer(BaseHTTPRequestHandler):
del self.server.iconsCache['repeat.png']
# send out the announce within a separate thread
self._postToOutboxThread(announceJson)
self._postToOutbox(announceJson,
self.server.projectVersion, self.postToNickname)
fitnessPerformance(GETstartTime, self.server.fitness,
'_GET', '_announceButton postToOutboxThread',
@ -7113,7 +7114,9 @@ class PubServer(BaseHTTPRequestHandler):
nickname, domain, postFilename,
debug, recentPostsCache)
self._postToOutboxThread(newUndoAnnounce)
self._postToOutbox(newUndoAnnounce,
self.server.projectVersion, self.postToNickname)
self.server.GETbusy = False
actorAbsolute = self._getInstanceUrl(callingDomain) + actor
actorPathStr = \