Check if like notification exists

This commit is contained in:
bashrc committed 2020-07-08 22:41:48 +01:00
1 parent 80248889b8
commit 57d64ed033
1 file changed
+2
+2
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: