From cfba4874f8676a2f28ee254461359957ad19db71 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 8 Jul 2020 22:52:18 +0100 Subject: [PATCH] Check for sent like notifications --- inbox.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index c0c05f49..81ebda56 100644 --- a/inbox.py +++ b/inbox.py @@ -1714,7 +1714,8 @@ def likeNotify(baseDir: str, handle: str, actor: str, url: str) -> None: return likeFile = accountDir + '/.newLike' if os.path.isfile(likeFile): - return + if '##sent##' not in open(likeFile).read(): + return # This is not you liking your own post if actor in url: