EmojiReact

merge-requests/30/head
Bob Mottram 2021-11-12 13:48:58 +00:00
parent 032686e802
commit d3906288f9
1 changed files with 4 additions and 3 deletions

View File

@ -8186,7 +8186,7 @@ class PubServer(BaseHTTPRequestHandler):
'actor': undoActor, 'actor': undoActor,
'to': [actorReaction], 'to': [actorReaction],
'object': { 'object': {
'type': 'EmojiReaction', 'type': 'EmojiReact',
'actor': undoActor, 'actor': undoActor,
'to': [actorReaction], 'to': [actorReaction],
'object': reactionUrl2 'object': reactionUrl2
@ -8217,8 +8217,8 @@ class PubServer(BaseHTTPRequestHandler):
undoReactionCollectionEntry(recentPostsCache, undoReactionCollectionEntry(recentPostsCache,
baseDir, baseDir,
reactionPostFilename, reactionUrl, reactionPostFilename, reactionUrl,
undoActor, domain, debug, None, undoActor, domain, debug,
emojiContent) reactionPostJson, emojiContent)
if debug: if debug:
print('Regenerating html post for changed ' + print('Regenerating html post for changed ' +
'emoji reaction collection') 'emoji reaction collection')
@ -8259,6 +8259,7 @@ class PubServer(BaseHTTPRequestHandler):
else: else:
print('WARN: Unreaction post not found: ' + print('WARN: Unreaction post not found: ' +
reactionPostFilename) reactionPostFilename)
self.server.GETbusy = False self.server.GETbusy = False
actorAbsolute = self._getInstanceUrl(callingDomain) + actor actorAbsolute = self._getInstanceUrl(callingDomain) + actor
actorPathStr = \ actorPathStr = \