forked from indymedia/epicyon
Check if like notification exists
parent
80248889b8
commit
57d64ed033
2
inbox.py
2
inbox.py
|
@ -1713,6 +1713,8 @@ def likeNotify(baseDir: str, handle: str, actor: str, url: str) -> None:
|
||||||
if not os.path.isdir(accountDir):
|
if not os.path.isdir(accountDir):
|
||||||
return
|
return
|
||||||
likeFile = accountDir + '/.newLike'
|
likeFile = accountDir + '/.newLike'
|
||||||
|
if os.path.isfile(likeFile):
|
||||||
|
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:
|
||||||
|
|
Loading…
Reference in New Issue