From 81c06ae2f52592d578a6b47421f2f872a121fe9b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 8 Jul 2020 22:34:54 +0100 Subject: [PATCH] Tidying --- inbox.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inbox.py b/inbox.py index 72a5393f..fe61de1c 100644 --- a/inbox.py +++ b/inbox.py @@ -1035,7 +1035,7 @@ def receiveLike(recentPostsCache: {}, messageJson['actor'], domain, debug) print('likeNotify: ' + str(messageJson)) likeNotify(baseDir, handle, - messageJson['actor'], messageJson['object'], httpPrefix) + messageJson['actor'], messageJson['object']) return True @@ -1707,8 +1707,7 @@ def dmNotify(baseDir: str, handle: str, url: str) -> None: fp.write(url) -def likeNotify(baseDir: str, handle: str, actor: str, url: str, - httpPrefix: str) -> None: +def likeNotify(baseDir: str, handle: str, actor: str, url: str) -> None: """Creates a notification that a like has arrived """ accountDir = baseDir + '/accounts/' + handle