mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 18:29:54 +00:00
Notify about likes by default
This commit is contained in:
1 parent
8ff510e791
commit
6489c6f625
1 file changed
+6
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user