Check for sent like notifications

main
Bob Mottram 2020-07-08 22:52:18 +01:00
parent 57d64ed033
commit cfba4874f8
1 changed files with 2 additions and 1 deletions

View File

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