Check if like notification exists

main
Bob Mottram 2020-07-08 22:41:48 +01:00
parent 80248889b8
commit 57d64ed033
1 changed files with 2 additions and 0 deletions

View File

@ -1713,6 +1713,8 @@ def likeNotify(baseDir: str, handle: str, actor: str, url: str) -> None:
if not os.path.isdir(accountDir):
return
likeFile = accountDir + '/.newLike'
if os.path.isfile(likeFile):
return
# This is not you liking your own post
if actor in url: