mirror of https://gitlab.com/bashrc2/epicyon
Notify about likes by default
parent
8ff510e791
commit
6489c6f625
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue