From 6489c6f625e5841439e77a951d40038a6d6d9519 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 27 Aug 2020 10:23:21 +0100 Subject: [PATCH] Notify about likes by default --- person.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/person.py b/person.py index f339cd87..0afdc7b1 100644 --- a/person.py +++ b/person.py @@ -460,6 +460,12 @@ def createPerson(baseDir: str, nickname: str, domain: str, port: int, with open(followDMsFilename, "w") as fFile: fFile.write('\n') + # notify when posts are liked + notifyLikesFilename = baseDir + '/accounts/' + \ + nickname + '@' + domain + '/.notifyLikes' + with open(notifyLikesFilename, "w") as fFile: + fFile.write('\n') + if not os.path.isdir(baseDir + '/accounts'): os.mkdir(baseDir + '/accounts') if not os.path.isdir(baseDir + '/accounts/' + nickname + '@' + domain):