main
Bob Mottram 2020-07-08 22:34:54 +01:00
parent 3607bfd439
commit 81c06ae2f5
1 changed files with 2 additions and 3 deletions

View File

@ -1035,7 +1035,7 @@ def receiveLike(recentPostsCache: {},
messageJson['actor'], domain, debug) messageJson['actor'], domain, debug)
print('likeNotify: ' + str(messageJson)) print('likeNotify: ' + str(messageJson))
likeNotify(baseDir, handle, likeNotify(baseDir, handle,
messageJson['actor'], messageJson['object'], httpPrefix) messageJson['actor'], messageJson['object'])
return True return True
@ -1707,8 +1707,7 @@ def dmNotify(baseDir: str, handle: str, url: str) -> None:
fp.write(url) fp.write(url)
def likeNotify(baseDir: str, handle: str, actor: str, url: str, def likeNotify(baseDir: str, handle: str, actor: str, url: str) -> None:
httpPrefix: str) -> None:
"""Creates a notification that a like has arrived """Creates a notification that a like has arrived
""" """
accountDir = baseDir + '/accounts/' + handle accountDir = baseDir + '/accounts/' + handle