forked from indymedia/epicyon
Check for sent like notifications
parent
57d64ed033
commit
cfba4874f8
3
inbox.py
3
inbox.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue